in reply to
strip header from page fetched w/ LWP
Perhaps you didn't realize that . doesn't match \n unless you give the /s flag.
$out =~ s#<head>.*?</head>##s
[download]
Comment on
Re: strip header from page fetched w/ LWP
Download
Code
In Section
Seekers of Perl Wisdom