in reply to s/PATTERN/func()/em leaks /m into func()

Yeah, this is a bug. You can't even turn it off with s/(?-m:^\n+)//. Report it with the 'perlbug' program that comes with Perl. I'd use the contents of your node as the message, I don't think anything more is necessary.

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart