in reply to global vars

You could always just put your key/value pairs into a file like this:
KEY1=VALUE1 KEY2=VALUE2
then slurp the values in at the beginning of your program:
open(F,"conf.ini"); my %config = {}' while(<F>) { (my $key,$value) = split /=/; $config{"$key"} = $value; } close(F);
If you want %config global just declair it as our instead of my, or pass it around with Exporter.


daN.