Re: env vars using perl

2003-09-26 Thread Randal L. Schwartz
> "Pete" == Pete Emerson <[EMAIL PROTECTED]> writes: Pete> It's the same way. Here's code that works for me: Pete> #!/usr/bin/perl -w Pete> use strict; Pete> use CGI qw(:standard); Pete> print header; Pete> print start_html; Pete> foreach my $key (sort keys %ENV) { Pete> print "\$ENV{$

Re: env vars using perl

2003-09-25 Thread Asif Iqbal
Thanks a lot, thats exactly what I wanted On Thu, 25 Sep 2003, Pete Emerson wrote: > Asif Iqbal wrote: > > > I can use this to get all the env variables > ... > > Now how can I use this trick to get all the web env variables ? I am using > > apache on unix (solaris 8) ? > > It's the same way. Her

Re: env vars using perl

2003-09-25 Thread Pete Emerson
Asif Iqbal wrote: I can use this to get all the env variables ... Now how can I use this trick to get all the web env variables ? I am using apache on unix (solaris 8) ? It's the same way. Here's code that works for me: #!/usr/bin/perl -w use strict; use CGI qw(:standard); print header; print st