in reply to perlrun: -a implicitly sets -n

It seems that feature was added somewhere between versions 5.18 & 5.20:

C:\test>\perl5.18\perl\bin\perl.exe -mstrict -waE"say @F" counts C:\test>\perl5.18\perl\bin\perl.exe -mstrict -wanE"say @F" counts 00000018801880 C:\test>\Perl5.20\bin\perl.exe -mstrict -wanE"say @F" counts 00000018801880 C:\test>\Perl5.20\bin\perl.exe -mstrict -waE"say @F" counts 00000018801880

Anyone got any experience of this phone's predecessor?

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!

Replies are listed 'Best First'.
Re^2: perlrun: -a implicitly sets -n
by stevieb (Canon) on Jul 30, 2015 at 23:35 UTC

    Yep, I did some research (and updated my first post). It became effective during 5.19 (officially available in 5.20).