in reply to Two questions about CGI and format specifiers (was: Two questions)
2. To print to STOUT for the browser to get it through CGI you need to first print the HTTP headers:
Then print anything you want the browser to see:print "Content-type: text/html\n\n";
For details on using format() consult the Perl core docs.print $stuff;
-caedes
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Two questions
by whiteperl (Scribe) on Jun 30, 2002 at 09:01 UTC | |
by caedes (Pilgrim) on Jun 30, 2002 at 09:10 UTC |