on Tue, 11 Jun 2002 18:57:46 GMT, Nikola Janceski wrote:

> couldn't he do:
> 
> my @allenv = map { [$_, $ENV{$_} ] } keys %ENV;
> 
> local $" = "--";
> foreach my $env (@allenv){
>      print "@{$env}\n";
> }

Personally, I prefer

        print "$_--$ENV{$_}\n" for (keys %ENV);


-- 
felix

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to