Hi,
I have a hash, created from a text file, with an element along the lines of %myhash{$mykey}="$FRED/thingy.txt". When I issue an open command for "<%myhash{$mykey}", it fails to resolve the environment variable part and reports that it cannot find the file "$FRED/thingy.txt".
I've got "use Env;" and other environment variables are being resolved correctly (including some referencing $FRED).
How do I tell Perl that the contents of %myhash{$mykey} contains an environment variable and that it should resolve it?
Apologies if this is straightforward, but I can't find it in my Perl manual, or through a search.
Cheers,
J.