in reply to http headers

The quickest way is to not have the headers in the first place:
use LWP::Simple; my $content = get "http://perltraining.stonehenge.com/";

-- Randal L. Schwartz, Perl hacker