in reply to Re^2: Specific Regex with Multilines (/s and /m): Why Doesn't This Work?in thread Specific Regex with Multilines (/s and /m): Why Doesn't This Work?
local $/; within the appropriate scope is almost always more useful than undef $/;.