in reply to •Re: Checking for the existence of a passed parameter.
in thread Checking for the existence of a passed parameter.
This is Perl, let's not be writing Pascal code. *g*my $verify = param("verify"); if (not defined $verify) { # wasn't even there # ... # return, exit, last, or whatever here } if($verify eq 'yes') { # ... } else { # ... }
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re^2: Checking for the existence of a passed parameter.
by merlyn (Sage) on Nov 11, 2003 at 20:21 UTC | |
by Aristotle (Chancellor) on Nov 11, 2003 at 20:34 UTC |