http://www.perlmonks.org?node_id=166029


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

Substituting the call to the get function in the LWP::Simple for a call to head you could save a good amount of time as the head function checks only for the presence of the page instead of downloading it all.


$|=$_="1g2i1u1l2i4e2n0k",map{print"\7",chop;select$,,$,,$,,$_/7}m{..}g