#!/usr/bin/perl # # Perl CGI program. # Create document that knows what time it is $time = localtime(); # time is a string containing the date/time # send HTTP header. print "Content-type: text/html\n\n"; # send a document that includes the time print < Time and Date

It is now: $time

EODOC