in reply to Re^2: Removing http headers from LWP::Useragent request
in thread Removing http headers from LWP::Useragent request

sure -- you can store the content in a variable first before printing... also, the headers are available via the ->header() method (See HTTP::Headers docs).
my $content = $ua->request($req)->content; # munge $content here # $content = uc $content; print OUT $content; my $title = $ua->request($req)->header('Title'); warn $title; # 'Empty Result'

Replies are listed 'Best First'.
Re^4: Removing http headers from LWP::Useragent request
by criz (Novice) on Jun 06, 2005 at 18:22 UTC
    Thanks, that did the trick