# Function oriented use CGI qw(:standard); print header; print start_html("Hello World"); # Object Oriented use CGI; # don't need qw(:standard) $cgi = CGI->new; # ($cgi is now the object) print $cgi->header; # function call: $obj->function print $cgi->start_html("Hello World");