Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Cookie questionby grep (Monsignor) |
on Dec 08, 2007 at 00:56 UTC ( [id://655786]=note: print w/replies, xml ) | Need Help?? |
You can do whatever you want before printing the header as just long as long as you don't print to STDOUT.
The first thing the webserver wants to see is a header, before it sends your page. If it doesn't then there is a problem. Everything sent out STDOUT goes to the webserver, so either print to STDOUT after the header or print to another file handle.
So do this (untested): OR
grep One dead unjugged rabbit fish later...
In Section
Seekers of Perl Wisdom
|
|