Gergely Buday wrote:
> Hi there, 
> 
> why is the script
> 
> #!/usr/bin/perl
> foreach $key (sort keys %ENV) {
>     print "$key=$ENV{$key}\n";
> }
> 
> returns much less variable than
> 
> $ set
> 
> using bash?

set is a bash built-in command which displays shell variables while the
enviroment is independent of any shell.


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to