it could be golfed, but this is just proof of concept type stuff :) easily adapted. Could even have it track which are empty...my($has,$missing); $query->param($_) ? $has++ : $missing++ for @ship_fields; failure() if($has && $missing);
- Ant
In reply to Re: Nicer If...
by suaveant
in thread Nicer If...
by SilverB1rd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |