in reply to question regarding "Tie" in Perl

You have proven that tie doesn't suit here. =)

I hope this code is only a sample for demonstration and not meant for production.

IIRC do Perl variables have flags telling if they are blessed or tied and slots holding the bound class-names. (there is also untie, but no unbless)

You might wanna read perlguts for details, I also recommend the (old) Panther book for internals.

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^2: question regarding "Tie" in Perl
by lightoverhead (Pilgrim) on Nov 04, 2013 at 20:22 UTC

    Rolf

    Thank you for your answer.

    By the way, what is IIRC?

      IIRC: If I Recall Correctly