... about as clear an expression of your desired behavior as you will find.
I would have thought that something like the following would be much more clear. Note that List::MoreUtils::any has the same short-circuiting behavior as || (logical-or).
use List::MoreUtils qw(any); ... help() if any { $_ eq q{} } $server, $user, $database, $password, ... +;
In reply to Re^2: checking values of variables
by AnomalousMonk
in thread checking values of variables
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |