Feb 4, 2013, 6:11 AM
Refer: perldoc perlop. The last paragraph of the section on the m// operator discusses the /g option in scalar context.
Re: [adrianstern] bug in grep
Remove /g one-at-a-time and observe the results.
Edit: corrected serious typo.
(This post was edited by BillKSmith on Feb 4, 2013, 6:13 AM)