File: control

package info (click to toggle)
libtie-toobject-perl 0.03-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 56 kB
  • ctags: 6
  • sloc: perl: 58; makefile: 44
file content (30 lines) | stat: -rw-r--r-- 1,279 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Source: libtie-toobject-perl
Section: perl
Priority: optional
Build-Depends: debhelper (>= 5.0.0)
Build-Depends-Indep: perl (>= 5.8.8-12), libtest-use-ok-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Krzysztof Krzyzaniak (eloy) <eloy@debian.org>,
 gregor herrmann <gregor+debian@comodo.priv.at>
Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/Tie-ToObject/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtie-toobject-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libtie-toobject-perl/


Package: libtie-toobject-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}
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.