Commit Graph

1 Commits

Author SHA1 Message Date
simon
b91bfaf630 import p5-Tie-ToObject
While "tie" in Perl allows tying to an arbitrary object, the class in
question must support this in it's implementation of TIEHASH, TIEARRAY
or whatever.

Tie::ToObject provides a very tie constructor that simply returns the
object it was given as it's first argument.
That way the side effects of calling $object->TIEHASH are avoided.
2008-05-26 08:00:24 +00:00