in reply to Figuring out the environment

I'd start with:

foreach (keys %ENV) { print "$_ => $ENV{$_} \n"; }

Maybe your batch file is piping STDOUT instead of using OUTFILE

Replies are listed 'Best First'.
Re: Re: Figuring out the environment
by Willman023 (Scribe) on Sep 25, 2002 at 14:42 UTC
    Thanks fglock, I'm actually able to print out to the webpage. Like this line prints out a link:

    print OUTFILE "<a href=$tlink>$field2</a>\n";

    but for my other code it don't print out anything.