in reply to Multiline pattern matching

Please read perlman:perlre. Your question is too vague to be answered but you should be able to find what you are looking for in this page.
--
use signature; signature(" So long\nAlfie");