use CGI qw(param); ... my $verify = param("verify"); if (defined $verify) { # was passed... if ($verify eq "yes") { # was yes... } else { # not yes... } } else { # not passed... }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Checking for the existence of a passed parameter.
by merlyn
in thread Checking for the existence of a passed parameter.
by chriso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |