Don't ask to ask, just ask | |
PerlMonks |
Re: More efficient return of values from subby Limbic~Region (Chancellor) |
on Mar 27, 2005 at 17:26 UTC ( [id://442652]=note: print w/replies, xml ) | Need Help?? |
bradcathey,
Your getinfo example doesn't reflect what expensive operations you are trying to avoid nor have you indicated what level of visibility (scope) you need. To summarize the examples provided so far:
Without knowing more information, I would make a few assumptions and not have a getinfo() sub at all.
Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|