Ben Morrow <> wrote in
news:avit96-:
> 5. If you think listing all those variable names is too much work
> (I would
) you can move them into a hash and just export that:
>
> package DBAdmin::Config;
>
> use base qw/Exporter/;
> our @EXPORT = qw/%Config/;
>
> our %Config = (
> blivit => "...",
> ...,
> );
I would use a different name for the hash: Even %config is better, because
my mind automatically assumes %Config is the hash exported by Config:
perldoc Config
Sinan
--
A. Sinan Unur <>
(remove .invalid and reverse each component for email address)
comp.lang.perl.misc guidelines on the WWW:
http://www.rehabitation.com/clpmisc/