Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: WWW::Mechanize - Check if link can be followed

by Corion (Pope)
on Jun 25, 2013 at 07:23 UTC ( #1040551=note: print w/ replies, xml ) Need Help??


in reply to WWW::Mechanize - Check if link can be followed

Did you read the WWW::Mechanize documentation about the autocheck attribute?


Comment on Re: WWW::Mechanize - Check if link can be followed
Download Code
Re^2: WWW::Mechanize - Check if link can be followed
by Microcebus (Beadle) on Jun 25, 2013 at 07:37 UTC
    Thanks. I didn't know that. $website=WWW::Mechanize->new(autocheck=>0); did the job.

      You might want to add error checking to your code now, because now WWW::Mechanize will not automatically stop the program when it encounters an error.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2014-12-18 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (67 votes), past polls