develooper Front page | perl.beginners | Postings from April 2008

What does "print $cgi->header" do?

Thread Next
From:
Jonathan Mast
Date:
April 21, 2008 11:46
Subject:
What does "print $cgi->header" do?
There is a line in script we have that I find baffling, it is

print $cgi->header;

To me this seems to be printing the results of the header method of the CGI
module to standard output.

Is something else going on here as well?

Thanks


Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About