in reply to How can I capture the full header of a cgi script?
You may want to try WWW::Mechanize
#!/usr/bin/perl use strict; use warnings; use WWW::Mechanize; my $mech = WWW::Mechanize->new(); $mech->get("http://perlmonks.net"); my $headers = $mech->response->headers->as_string;
|
---|
In Section
Seekers of Perl Wisdom