http://qs321.pair.com?node_id=930697


in reply to Re^4: Convert Shell script to Perl
in thread Convert Shell script to Perl

But I should be able to find these env variables in the command window

No. That's a FAQ, both a Unix FAQ and a Perl one (see perlfaq8). See also: export environment variable from a perl program.