sub openhelp { print "Content-type: text/html\n\n"; print "This program will open an example file.
"; open (example, "example.txt") || die ("Could not open file
$!"); $text = ; print "The first line of the file reads : $text "; close (example); }