#!/usr/bin/perl use CGI; print "Content-type: text/html\n\n"; print "CGI test"; $foo = param('foo'); print "foo is $foo.";