Your best bet is probably to just put them in a hash.
my %config; ... $config{ $var } = $value; }
Then you can access your variables like this:
$i_want_the_value_of_port = $config{ 'port' };
-Bryan
In reply to Re: setting envirnment variables from array.
by mrborisguy
in thread setting envirnment variables from array.
by crusty_collins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |