There's more than one way to do things | |
PerlMonks |
Re^3: Perl CGI Cookies "Content-Type:text/html" showing at top of html.by wfsp (Abbot) |
on Aug 19, 2011 at 09:41 UTC ( [id://921202]=note: print w/replies, xml ) | Need Help?? |
You will need to add a print header; line in your other if clauses. Otherwise your script will crash. (or set a flag when you have sent it and test the flag to see if it needs sending)
In Section
Seekers of Perl Wisdom
|
|