in reply to Test if multiple variables are defined
perl -we 'my $a; { no warnings qw/uninitialized/; $a =~ s/x/y/; }'
Sometimes this is the clearest solution!
Cheers Rolf
( addicted to the Perl Programming Language)