Ok, I don't know why $ENV didn't occur to me, but it didn't.
***Thanks*** to all who responded and pointed out that

  $ENV{REMOTE_USER}

gives the user who logged in when the webserver uses Apache
..htaccess authentication.  One person suggested $ENV{AUTH_USER},
but AUTH_USER does *not* appear as an environment variable on
my system(RH8.0, Perl 5.8.0, Apache 2.0.40) after .htaccess login.

Thanks again.

Hardy

Reply via email to