Have you tried the multiple-line modifier (m at the end of the regex)? See the entry in the PerlFAQ (part 6).
if(Dumper($page) =~ m/Daniel(.*?)world/m) { print $1; }
Update: moritz is right ... use s instead of m!
Rata (who promises to be more concentrated next time)
In reply to Re: Searching string for paragraph..
by Ratazong
in thread Searching string for paragraph..
by danj35
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |