Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: LWP::Simple - so they say!

by Anonymous Monk
on Apr 20, 2012 at 11:52 UTC ( #966183=note: print w/ replies, xml ) Need Help??

in reply to Re: LWP::Simple - so they say!
in thread LWP::Simple - so they say!

No need to abort with max_size

#!/usr/bin/perl -- use strict; use warnings; use WWW::Mechanize; my $url = ''; my $ua = WWW::Mechanize->new( qw/ max_size 1 autocheck 1 show_progress 1 / ); eval { $ua->head($url); 1 } or $ua->get($url); print $ua->dump_headers; __END__

Comment on Re^2: LWP::Simple - so they say!
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2015-11-27 00:20 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (710 votes), past polls