Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Nicer If...by suaveant (Parson) |
on Jul 12, 2001 at 23:16 UTC ( [id://96152]=note: print w/replies, xml ) | Need Help?? |
similar to mine, but probably a little better, if you did
!$query->param($_) it would return a list of empty ones, tho,
which would allow you to throw a useful error to the user, the check even still works,
but I'd just check to see if $#filled == $#req_fields || !@filled, instead of hardcoding a number
- Ant
In Section
Seekers of Perl Wisdom
|
|