http://www.perlmonks.org?node_id=1096369


in reply to Re^2: Using /m when $ is followed by punctuation
in thread Using /m when $ is followed by punctuation

I don't think you'd ever need to do that, but I can think of a couple of solutions:

Replies are listed 'Best First'.
Re^4: Using /m when $ is followed by punctuation
by jrw (Monk) on Aug 05, 2014 at 23:03 UTC
    Thanks, ikegami. I had remembered that there seemed to be no need for an interior $ followed by an escape, but I failed to think outside the box I had constructed for myself in the original question.