...

View Full Version : HTTP Headers Module



electrify77
07-21-2009, 04:31 PM
Hello,

How can I get the same kind of headers info using Perl that this PHP script returns:

http://seopen.com/seopen-tools/header-checker.php?url=google.com

I'm particularly interested in the Location bit. I'm sure there must be a Perl Module for this - I just don't know which one.

Shannon Blonk
07-22-2009, 02:32 AM
You can use the LWP suite, which comes standard with Perl. Just do a HEAD request and examine the headers of the response object.

Start with perldoc LWP (search.cpan.org/perldoc?LWP)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum