header" do? - Perl Beginners [RSS]" href="http://www.talkaboutprogramming.com/group/perl.beginners/index.rss" />
Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Re: What does "...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 10972 of 11531
Post > Topic >>

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

by chas.owens@[EMAIL PROTECTED] (Chas. Owens) Apr 21, 2008 at 02:57 PM

On Mon, Apr 21, 2008 at 2:45 PM, Jonathan Mast
<jhmast.developer@[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 going on here as well?
snip

The standard output is the resulting html page when using CGI*.

*
http://search.cpan.org/~lds/CGI.pm-3.35/CGI.pm#CREATING_A_STANDARD_HTTP_HEADER:


-- 
Chas. Owens
wonkden.net
The most im****tant skill a programmer can have is the ability to read.
 




 3 Posts in Topic:
What does "print $cgi->header" do?
jhmast.developer@[EMAIL P  2008-04-21 14:45:58 
Re: What does "print $cgi->header" do?
chas.owens@[EMAIL PROTECT  2008-04-21 14:57:00 
Re: What does "print $cgi->header" do?
krahnj@[EMAIL PROTECTED]   2008-04-21 11:57:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 18:56:55 CDT 2008.