in reply to Multiline pattern matching
The last 's' makes sure all text is read like one string, even if it contains newlines.$var =~ m/some text\nand more/s;
Of course you could have read this in perlop and prelre.
Hope this helps,
Jeroen
"We are not alone"(FZ)
|
|---|