Before: my $user_stamp = $ENV{'REMOTE_USER'}; $user_stamp = $ENV{'REMOTE_ADDR'} if (not $user_stamp); After: my $user_stamp = $ENV{'REMOTE_USER'} || $ENV{'REMOTE_ADDR'}; j