in reply to /s and /m don't seem to be doing anything

None of your tests included any of the .$^ meta characters, so how do you want to see any effect?

See perlre

According to the 5.8 docs $*=0 is just the default without /m or /s. Someone was just playing safe...

So no need to migrate! :)

HTH!

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

Replies are listed 'Best First'.
Re^2: /s and /m don't seem to be doing anything
by Anonymous Monk on Dec 31, 2014 at 04:06 UTC

    None of your tests included any of the .$^ meta characters, so how do you want to see any effect?

    So LanX, what is all this  /(?^:foo$)/s in OPs post?

      I checked the code and true there is one $ in line 4 which I oversaw.

      Mea culpa!

      Cheers Rolf

      (addicted to the Perl Programming Language and ☆☆☆☆ :)