http://www.perlmonks.org?node_id=149066


in reply to Header Visible In CGI output after cookie header is sent

Short answer: yes. I've found that the best thing to do is never to try to call the header line inside subs, leaving that header call in the main parts of the routine, just to avoid this situation.

-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important