in reply to RegExp breaks in Perl 5.10

Adding use encoding "iso-8859-1"; (to explicitly tell Perl that your source is in iso-8859-1) at the top of your module did fix it for me:

$ make test PERL_DL_NONLAZY=1 /usr/local/perl/5.10.0/bin/perl "-MExtUtils::Command +::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Lingua-Stem-Es....ok + All tests successful. Files=1, Tests=28379, 11 wallclock secs ( 8.21 cusr + 0.30 csys = 8. +51 CPU)

Replies are listed 'Best First'.
Re^2: RegExp breaks in Perl 5.10
by eserte (Deacon) on Mar 06, 2008 at 19:44 UTC
    But note that still perl 5.10.0 is broken...

      ...seems like it, yes. At least the test code from the thread you linked to still produces lots of "not ok"s with 5.10.0.  But I'll leave wiser heads than mine to comment on that... :)