in reply to Re: Possible Stupid Perl Trick - Importing method into object class?
in thread Possible Stupid Perl Trick - Importing method into object class?
Good lord, I just used a goto.
If it makes you feel any better, the form you used isn't really even a goto, or at least not the way C/C++/Java programmers mean (i.e., the goto-LABEL form). Its use in AUTOLOAD subs is precisely what the goto-&NAME form was intended for.
See this node: Would you use 'goto' here? for more on the topic.
dmm
|
|---|