Willman023 has asked for the wisdom of the Perl Monks concerning the following question:
foreach (keys %ENV) { print OUTFILE "$_ => $ENV{$_} \n"; }
I've seen this done on this site, and from experience I know this works, but I get a blank page when this script runs. I don't have access to error logs like I normally do. And to run the scripts I have a batch script that kicks off the perl script on the server, I don't see any errors there either. So is there a reason this would not print out anything? Or is there another way to get the environment variables?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Figuring out the environment
by Zaxo (Archbishop) on Sep 25, 2002 at 14:48 UTC | |
by Willman023 (Scribe) on Sep 25, 2002 at 15:59 UTC | |
by kelan (Deacon) on Sep 25, 2002 at 16:40 UTC | |
by Willman023 (Scribe) on Sep 25, 2002 at 17:14 UTC | |
by Mr. Muskrat (Canon) on Sep 25, 2002 at 16:39 UTC | |
|
Re: Figuring out the environment
by fglock (Vicar) on Sep 25, 2002 at 14:31 UTC | |
by Willman023 (Scribe) on Sep 25, 2002 at 14:42 UTC | |
|
Re: Figuring out the environment
by Willman023 (Scribe) on Sep 25, 2002 at 14:33 UTC |