#!/user/local/bin/perl #we're in Apache::Registry #our perl version is >= 5.003_93 #or is configured to use sfio so we can #print() to STDOUT #and #read() from STDIN #we've also set (per-directory config): #PerlSendHeader On print "Content-type: text/html\n\n"; print "Date: ", scalar localtime, "
\n"; print "%ENV:
\n", map { "$_ = $ENV{$_}
\n" } keys %ENV;