You are correct. I had forgotten about that particular bit of DWIM, since I do not rely on it in my own code.


In reply to Re^3: Matching against $_ behaves differently than matching against a named scalar? by jcb
in thread Matching against $_ behaves differently than matching against a named scalar? by nysus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":