http://qs1969.pair.com?node_id=1049138


in reply to Re: checking values of variables
in thread checking values of variables

... 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, ... +;