[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#462078: ITP: libtie-toobject-perl -- Tie to an existing object



Package: wnpp
Severity: wishlist
Owner: "Krzysztof Krzyzaniak (eloy)" <eloy@debian.org>


* Package name    : libtie-toobject-perl
  Version         : 0.03
  Upstream Author : Yuval Kogman <nothingmuch@woobling.org>
* URL             : http://search.cpan.org/dist/Tie-ToObject/
* License         : Perl (Artistic/GPL)
  Programming Lang: Perl
  Description     : Tie to an existing object

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

 Tie::ToObject 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.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: