http://qs1969.pair.com?node_id=327358


in reply to Re: regexp operator -- same mistake over and over again
in thread regexp operator -- same mistake over and over again

Yes, this worked for me too. The order seemed completely unnatural when I was first learning Perl but I sort of told myself that ~ is the regex binding operator and the = or ! is a modifier that indicates whether the binding is to be construed as an affirmative or negative one. Pretty kludgy but became second nature soon enough.

        $perlmonks{seattlejohn} = 'John Clyman';