* Spencer Ogden <[EMAIL PROTECTED]> [2005-02-15 14:21]:
> Any other suggestions as to how to handle sort of 'config'
> settings?
Document the package globals and let local() handle things for
you. Additionally, allow optional named options which override
the package globals.
This way users can pick -- localize the globals at the beginning
of a long block? Put the options in an array and pass it on every
call? Use the named options for a one-off deviation from the
defaults? All possible and all easy.
Regards,
--
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;