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

2008-04-21 Thread Jonathan Mast
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

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

2008-04-21 Thread Chas. Owens
On Mon, Apr 21, 2008 at 2:45 PM, Jonathan Mast <[EMAIL PROTECTED]> wrote: > 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 go

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

2008-04-21 Thread John W. Krahn
Jonathan Mast wrote: 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. Correct. Is something else going on here as well? That depends on what the current