Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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
Replies are listed 'Best First'.
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 browsing the Monastery: (4)
As of 2015-08-04 04:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (59 votes), past polls