in reply to How do I get the environment variables for the owner of a CGI script?
my $owner = getpwuid($<); [download]