in reply to Unable to see environment variable set

That's it. %ENV contains the environment for your process and for children processes. See perlvar for more details

Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."

  • Comment on Re: Unable to see environment variable set

Replies are listed 'Best First'.
Re^2: Unable to see environment variable set
by Fletch (Bishop) on Jul 21, 2008 at 18:38 UTC

    Actually this question in perlfaq8 might be a more apposite pointer.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

        Use a shell script and, depending on whether you're running csh (some do;-) or a variant on the Bourne shell, either source file or . file.

        HTH ,

        At last, a user level that overstates my experience :-))