Object::Lazy::Ref - Simulation of ref $object for Object::Lazy
ref $object
0.12
use Object::Lazy::Ref; Object::Lazy::Ref::register($object);
Simulation of ref $obj for Object::Lazy
ref $obj
switch on the simulation.
Object::Lazy::Ref::register($object);
nothing
Carp
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.
not known
Steffen Winkler
Copyright (c) 2007 - 2012, Steffen Winkler <steffenw at cpan.org>. All rights reserved.
<steffenw at cpan.org>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Object::Lazy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Object::Lazy
CPAN shell
perl -MCPAN -e shell install Object::Lazy
For more information on module installation, please visit the detailed CPAN module installation guide.