can be written more succinctly ... See perlop#Logical-Defined-Or.
Yes, but not in perl versions older than 5.10 (released Dec 2007) / 5.9 (released Jul 2007), see perl5100delta /perl590delta. Older perl versions will likely see this as a syntax error. Unfortunately, this little detail is not documented in perlop. For someone new to Perl, perlop must read like defined-or was always present in Perl.
Alexander
In reply to Re^2: Uninitialized Value $regex
by afoken
in thread Uninitialized Value $regex
by ra93013
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |