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 perlhacker How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart
Comment on Re: s/PATTERN/func()/em leaks /m into func()