I like this a bit more than a hash, but why not use real references?
foreach my $check ( \( $var1, $var2, $var3 ) ) { complain() if $$check eq ''; }
In reply to Re: Re: Validating the contents of scalars using an array based list
by chromatic
in thread Validating the contents of scalars using an array based list
by JPaul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |