my $query=CGI->new(); my $user=$query->remote_user(); #### my $user=$ENV{'REMOTE_USER'};