Paketname | libtie-toobject-perl |
Beschreibung | Tie to an existing object |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (universe) |
Version | 0.03-2 |
Sektion | universe/perl |
Priorität | optional |
Installierte Größe | 56 Byte |
Hängt ab von | perl (>= 5.6.0-16) |
Empfohlene Pakete | |
Paketbetreuer | Ubuntu MOTU Developers |
Quelle | |
Paketgröße | 5884 Byte |
Prüfsumme MD5 | 73ffee953f7338cf04dc5215e03cbb34 |
Prüfsumme SHA1 | db20748393d66d4fcfedffe18b15023faa6a1eb1 |
Prüfsumme SHA256 | 837c7d7ce1666a8271e012dffc01ce8b66efaf658082637d5ae89b1316913353 |
Link zum Herunterladen | libtie-toobject-perl_0.03-2_all.deb |
Ausführliche Beschreibung | 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.
|