Package Info

perl-Tie-ToObject


Tie to an existing object.


Development/Libraries/Perl

While the perldoc/tie manpage allows tying to an arbitrary object, the class in question must support this in it's implementation of 'TIEHASH', 'TIEARRAY' or whatever.

This class provides a very tie constructor that simply returns the object it was given as it's first argument.

This way side effects of calling '$object->TIEHASH' are avoided.

This is used in the Data::Visitor manpage in order to tie a variable to an already existing object. This is also useful for cloning, when you want to clone the internal state object instead of going through the tie interface for that variable.


License: GPL-1.0+ or Artistic-1.0
URL: http://search.cpan.org/dist/Tie-ToObject/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.03-bp155.2.12 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Tie-ToObject
0.03-bp154.1.36 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Tie-ToObject
0.03-bp153.1.14 info GA Release 2021-02-25 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Tie-ToObject
0.03-bp152.3.20 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Tie-ToObject
0.03-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Tie-ToObject
0.03-bp151.2.14 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Tie-ToObject
0.03-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Tie-ToObject