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


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

!1 has a string value of "" and a numeric value of 0 (so as to not generate a warning when used as a number -- 0+"" generates a warning). This is what Perl uses all over the place for 'false' (when it isn't using undef). In the C code for Perl, this is PL_sv_no.

                - tye