in reply to Re: Logging URLs that don't return 1 with $mech->success
in thread Logging URLs that don't return 1 with $mech->success

Also, I'm not convinced of the reliability of following a link on Page A after having followed a link to Page B

I don't really understand this. Can you explain where the unreliability is?

Thanks for pointing out the while issue!

meh.

Replies are listed 'Best First'.
Re^3: Logging URLs that don't return 1 with $mech->success
by ikegami (Patriarch) on Sep 11, 2008 at 01:49 UTC

    Potential unreliability. It doesn't look right to me to follow a link that exists on a page the Mechanize object no longer has loaded. It could very well be that the Link object is independent of the page that spawned it, but to rely on that sounds dangerous to me. It might not be, but it's worth looking into and adding comments explaining this.