in reply to printing header method

#!/usr/local/bin/perl use CGI; $query = new CGI; $query->header( -type => 'text/html', -expires => '-1d', -Pragma => 'no-cache', -Cache-control => 'no-cache' -Read => 'Docs');

Yes this will send a header:

Read: Docs

So you may send any header info you like, although some are more likely to be more useful than others. Even a cursory search for CGI.pm and then header would have given you this info. Perhaps you might consider this in the future as it is quicker and will stop you getting progressively ruder answers when you ask questions clearly covered in the online documentation. Click here for the official CGI.pm docs

tachyon