Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Can You Explain How to Check a Link for Deadness

by tachyon (Chancellor)
on May 13, 2002 at 01:18 UTC ( [id://166067]=note: print w/replies, xml ) Need Help??


in reply to Can You Explain How to Check a Link for Deadness

use LWP::Simple; my $page = 'http://www.perlmonks.org/'; $headers = head($page); print $headers->{'_msg'}," ", $headers->{'_rc'}, "\n\n"; # have a look at the info we get back for interest sake use Data::Dumper; print Dumper $headers; __DATA__ OK 200

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found