logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Object::Lazy::Ref - Simulation of "ref $object" for Object::Lazy

Author

       Steffen Winkler

Bugs And Limitations

       not known

Configuration And Environment

       nothing

Dependencies

       Carp

Description

       Simulation of "ref $obj" for Object::Lazy

Diagnostics

       nothing

Incompatibilities

       This module will change *CORE::GLOBAL::ref premanently.  If a call of sub ref not matched with an
       registered Object::Lazy object the *CORE::GLOBAL::ref will be restored during call and will fall back
       after that.

       When another programm decided to change *CORE::GLOBAL::ref permanently it has to fallback to the old
       *CORE::GLOBAL::ref too.  This is than the Object::Lazy one.  When it bails out to CORE::ref, the pipe is
       broken.

Name

       Object::Lazy::Ref - Simulation of "ref $object" for Object::Lazy

Subroutines/Methods

subregister
       switch on the simulation.

           Object::Lazy::Ref::register($object);

Synopsis

           use Object::Lazy::Ref;

           Object::Lazy::Ref::register($object);

Version

       0.12

See Also