5. ()==/./g;: The RHS of a list assignment operator is evaluated in list context.
Visually tricky, this is actually a pointless comparison evaluating in void/scalar context:
c:\@Work\Perl>perl -wMstrict -le "$_ = 'abc'; ()== /./g; /(.)/g; print qq{'$1'}; " Useless use of numeric eq (==) in void context at -e line 1. Use of uninitialized value in numeric eq (==) at -e line 1. 'b'
In reply to Re^3: nooby question about @+, @-
by AnomalousMonk
in thread nooby question about @+, @-
by rsFalse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |