in reply to Re: Baby Steps
in thread Baby Steps "if" behavior?

If you're using CGI.pm, it looks like calling param() for an unsubmitted parameter returns undef. The snippet I used to test this is:

print "Undefined parameter: >>"; print defined ($q->param('undefined')) ? "defined" : "not defined"; print "<<\n<p>";
(Obviously, there's more to it than that, but anyone who knows enough to ask this question ought to know what else to add.)