http://www.perlmonks.org?node_id=305778


in reply to Re: m//g behaves strange...
in thread m//g behaves strange...

<pedantic> actually, m// in scalar context returns either 1 or "" (empty string). </pedantic>.