Running the 510r2 version of MacPerl under MPW I found the following: foreach $foo (keys %ENV) { print "Set $foo $ENV{$foo}\n"; } prints nothing. I would expect the output to be similar to the MPW 'set' command. I also noticed that if I reference an env var first it will then appear in the list. For example, if (defined($ENV{'Commands'})) { foreach $foo (keys %ENV) { print "$foo = $ENV{$foo}\n"; } } will print the value of the 'Commands' variable only. This seems like a bug to me. The full MPW environment should exist in the %ENV variable from the get-go. Am I missing something? Thanks, -B ====================================== Brian Deng Adobe Systems, Inc. voice: 408.536.2898 e-mail: bdeng@adobe.com fax: 408.537.8407 ======================================