#!perl sub &printHtml { # here you can print your html.. # you can do so using CGI.pm or you can manually print them.. # I assume you don't know what CGI.pm is also, so you can do this: print "Content-type: text/html\n\n"; print <

Hello World!

EOF } 1; # return true. #### #!perl require './functions.pl'; # so here you can do this : &printHTML;