in reply to Re: Validating the contents of scalars using an array based list
in thread Validating the contents of scalars using an array based list
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 ''; }
|
|---|