in reply to Forced resolution of environment variables

hey
i think you mean $myhash{$mykey}, right?
second: when i want to use environmental variables (shell variables to keep it short ;) ), i use $ENV{VARNAME}, for instance $ENV{HOME}. and then you don't have to use the use Env; thingie
hope this helps..
--
to ask a question is a moment of shame
to remain ignorant is a lifelong shame

Replies are listed 'Best First'.
Re^2: Forced resolution of environment variables
by gothic_mallard (Pilgrim) on Oct 22, 2004 at 15:18 UTC

    I don't think I've ever used use Env. I've never really liked things that pollute the namespace to any real extent. Keeping things within the normal %ENV hash and pulling it when needed is a lot cleaner to my mind.

    --- Jay

    All code is untested unless otherwise stated.