in reply to Re: Re: System Variables
in thread System Variables

Or perhaps more economically,
while(my ($key, $val) = each %ENV) { print "$key = $val\n"; }
since you're not sorting the keys anyway.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re4: System Variables
by blakem (Monsignor) on Oct 10, 2002 at 00:22 UTC
    I'm just feeling a bit silly...
    perl -e'print$_,$|--?$/:qq?$"=$"?for%ENV'

    -Blake