herby1620 has asked for the wisdom of the Perl Monks concerning the following question:
What do I need to write in my own 'package' to refer to these actions? I've played around, and it seems very confusing! I guess I want to do something like:tie *STDOUT, Tk::Text, $text; # '$text' is a Text widgit.
Which sounds OK to me, but what should I do after 'package MyMagic' to effect calls to the original methods? Thanks!tie *STDOUT, MyMagic, $text;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Local tied methods refering to others
by davido (Cardinal) on Jan 24, 2006 at 07:16 UTC |