in reply to Can You Explain How to Check a Link for Deadness
In addition to all the good things that have been said about LWP, there are things that LWP gets right that the sample code does not: authentication and proxies, for instance (though I am not sure that LWP::Simple foots the bill completely)
As for checking wether you have LWP:
perl -MLWP -e 'print "Hello\n"'
|
---|