in reply to Re: Substitution inside tags, as 1 line
in thread Substitution inside tags, as 1 line

Both m and s options on s///?
e Evaluate the right side as an expression. g Replace globally, i.e., all occurrences. i Do case-insensitive pattern matching. m Treat string as multiple lines. o Compile pattern only once. s Treat string as single line.

Replies are listed 'Best First'.
Re^3: Substitution inside tags, as 1 line
by tel2 (Pilgrim) on Oct 14, 2008 at 09:01 UTC
    From Perl Programming, 3rd Edition, by Larry Wall, etc, P153.
    /m Let ^ and $ match next to embedded \n. /s Let . match newlines and ignore deprecated $*.