** Start of listing of h1p-perl.cgi ** #!/usr/bin/perl print "Content-type: text/plain\n\n"; $currdate = localtime; #This line of code suggested by John W. Krahn print "The date&time is $currdate in California currently.\n\n"; print "The IP number $ENV{'REMOTE_ADDR'} is where your client/browser is located.\n\n"; print "The PATH is $ENV{'PATH'} currently\n"; print "(the only environment variable common to both CGI and login).\n"; # All code here by Robert Maas except that one contributed line. ** End of listing of h1p-perl.cgi ** Here is the directory entry for that file: -rwx------ 1 rem user 463 Jun 29 2005 h1p-perl.cgi ^ Note user execute permission needed for all CGI scripts.