Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How can I capture the full header of a cgi script?

by sh1tn (Priest)
on Nov 29, 2007 at 13:58 UTC ( #653839=note: print w/ replies, xml ) Need Help??


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;



Comment on Re: How can I capture the full header of a cgi script?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://653839]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2015-07-03 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (54 votes), past polls