Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by tachyon (Chancellor)
on May 13, 2002 at 01:18 UTC ( #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
Node Status?
node history
Node Type: note [id://166067]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2021-01-19 19:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?