in reply to CHECKING IF HEADER DEFINED

This is a possibility in some (sloppily/disparately coded) cases but only if you're using CGI to do your headers already.

use CGI; $CGI::HEADERS_ONCE = 1;

(Sidebar: your user name is, of course, up to you but please change your sig block. This is not a place of worship for anything but Perl.)

Replies are listed 'Best First'.
Re^2: CHECKING IF HEADER DEFINED
by GrandFather (Saint) on Jul 31, 2010 at 00:39 UTC

    This being a Perl Monastery the bible is The Camel Book so the path to Godliness being sought is surely perfection on Perl coding. Bearing that in mind the OP's sig is most apposite and to be lauded. He is obviously shouting for the sake of the pure joy in his journey. ;-)

    True laziness is hard work