Path to this page:
./
textproc/p5-Tie-ToObject,
Tie to an existing object
Branch: CURRENT,
Version: 0.03nb16,
Package name: p5-Tie-ToObject-0.03nb16,
Maintainer: pkgsrc-usersWhile "tie" in perldoc 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 Data::Visitor 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.
Required to run:[
lang/perl5]
Required to build:[
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 2.947 KB
Version history: (Expand)
- (2024-11-16) Updated to version: p5-Tie-ToObject-0.03nb16
- (2023-07-06) Updated to version: p5-Tie-ToObject-0.03nb15
- (2022-06-28) Updated to version: p5-Tie-ToObject-0.03nb14
- (2021-05-25) Updated to version: p5-Tie-ToObject-0.03nb13
- (2020-09-01) Updated to version: p5-Tie-ToObject-0.03nb12
- (2019-08-11) Updated to version: p5-Tie-ToObject-0.03nb11
CVS history: (Expand)