in reply to Re^2: nooby question about @+, @-
in thread nooby question about @+, @-

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'

Replies are listed 'Best First'.
Re^4: nooby question about @+, @-
by ikegami (Patriarch) on Oct 28, 2014 at 17:54 UTC
    Oops, fixed.