#!/usr/bin/perl -w ### # cgi script demo that prints out the time. ### # Inform the web browser how to display this file. print "Content-type: text/plain\n\n"; # Output whatever text or html you like. print "The time is now " . scalar localtime() . "\n";