I have a small sub that prints a bunch of info from caller and DBI error info to the browser when and error occurs. Sometimes, since I use this as a wrapper for all my usual calls to die, I end up calling it before I would have normally printed any http header. I want to know if there's a way to check and see if a header has already been printed or if I need to print one. Can that be done? Madly reading as we speak and finding nothing...
"A man's maturity -- consists in having found again the seriousness on +e had as a child, at play." --Nietzsch +e
In reply to Did I already print a header? by jptxs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |