in reply to another question on a string of 20 letters

You are right and when I run your code using AS Perl 5.8.7 it prints "no match" as expected.

Your second one liner has opposite sense to your first so it is matching as you expect, just not testing as you expect. Before coffee reply effect


DWIM is Perl's answer to Gödel
  • Comment on Re: another question on a string of 20 letters