In r31303 of bleadperl this bug is fixed:
$ perl5.9.5 -E 'say "match" if "f\n" ~~ /.*\z/'
match

In reply to Re^3: Strange regex to test for newlines: /.*\z/ by moritz
in thread Strange regex to test for newlines: /.*\z/ by betterworld

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