![]() |
|
Do you know where your variables are? | |
PerlMonks |
Carp; errors ala DBIby rir (Vicar) |
on Sep 19, 2002 at 22:10 UTC ( #199319=note: print w/replies, xml ) | Need Help?? |
Please don't use AUTOLOAD in code for distribution , UPDATE, without using NEXT. Thanks to adrianh for correcting me.
AUTOLOAD is a namespace hog living in the global namespace.
In your case it is an inappropriate solution. You know
You might want to use a constant for config branching:
this will eliminate the unneeded branch at compile time. UPDATED: because I was behind times regarding existence of NEXT.
In Section
Seekers of Perl Wisdom
|
|