iceraider has asked for the wisdom of the Perl Monks concerning the following question:
How can I do something like but check for | characters.my @required = qw(name site siteid email email2 pass repass); my $req_err; for (@required) { next if $q->param($_); $req_err++; last; } if ($req_err) { &error("You forgot some required fields"); }
Title edit by tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: disallowing vertical bar characters
by r0b (Pilgrim) on Jun 11, 2002 at 19:37 UTC | |
|
Re: disabling 's
by talexb (Chancellor) on Jun 11, 2002 at 18:14 UTC | |
|
Re: disallowing vertical bar characters
by cLive ;-) (Prior) on Jun 12, 2002 at 09:17 UTC | |
|
Re: disallowing vertical bar characters
by iceraider (Initiate) on Jun 11, 2002 at 18:39 UTC |