$ENV{'REMOTE_USER'} = undef; # to see all the keys in the %ENV hash for $key (keys %ENV) { print "$key $ENV{$key}\n"; }