use strict; use CGI qw/:standard/; print "content-type: text/html\n\n"; foreach (param) { print "CGI ".$_."; "; } print ""; foreach (keys %ENV) { print ''; } print '
'.$_.''.$ENV{$_}.'
';