in reply to Re: nooby question about @+, @-
in thread nooby question about @+, @-
The behaviour of the match operator in void context doesn't appear to be documented, but is sensibly acts as if it was evaluated in scalar context.
$ perl -E'$_="abc"; /./g; /(.)/g; say $1' b
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: nooby question about @+, @-
by AnomalousMonk (Archbishop) on Oct 28, 2014 at 14:24 UTC | |
by ikegami (Patriarch) on Oct 28, 2014 at 17:54 UTC |