Object::Lazy::Ref(3pm)

Object::Lazy::Ref3pm

Simulation of "ref $object" for object::lazy

Usage

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

Version

0.12

Overview

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

Subroutines/methods

sub register

switch on the simulation.

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

Diagnostics

nothing

Configuration and environment

nothing

Dependencies

Carp

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.

Bugs and limitations

not known

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 12–13

Author

Steffen Winkler

From libobject-lazy-perl 0.16-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.