in reply to use CGI; help or a tutorial?

About your specific problem, you need to export the ":standard" keyword from CGI.

#!/usr/bin/perl -wT use strict; use CGI qw/:standard/; # <-------- You need this # --- print hr; # ---

Have a look at our Tutorials section, where there are several CGI-related lessons and check Ovid's course on CGI (off site)

_ _ _ _ (_|| | |(_|>< _|