p5-Tie-ToObject

tie to an existing object

WWW CVSWeb GITHub
  1. Package version
    p5-Tie-ToObject-0.03p4
  2. Maintainer
    The OpenBSD ports mailing-list

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.