print Dumper \%Env;
This will show you one thing: %Env doesn't have the structure you wish it to have. The simplest way around is to use two hashes: one for storing the key => value mapping, and one for key => type (ie file or directory).
Another possible solution is to store more complicated data structures - see perlreftut and perldsc for some introductions on how to deal with them.
In reply to Re: Environment Variable
by moritz
in thread Environment Variable
by Nams
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |