hi,

I think that it shows only the exported varaibles.
I tried some thing like this

-------try this----------
1) add one more variable with your own as

prompt$ MY_OWN='name'

2) then run your program your variable MY_OWN will not be in the list
but use suffix export infornt of the above line, then it will show this 
thing also.

prompt$ export MY_OWN='name'
now you try, see the changes.

On 9/8/05, Gergely Buday <[EMAIL PROTECTED]> 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?
> 
> - Gergely
> 
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 
> 
-- 
with regds,
Nahalingam.

Reply via email to