On Mon Nov 24 18:32:22 2003, andy@petdance.com wrote:
Show quoted text> if the button given to $agent->click( "_whatever" ) doesn't exist,
> should it really be die()ing ?
>
> Can't call method "click" on an undefined value at
> /usr/local/lib/perl5/site_perl/5.8.0/WWW/Mechanize.pm line 618.
Yes. Damian Conway suggested it was a best practice, and I agree:
Throw exceptions instead of returning special values or setting flags.
The autocheck/onwarn/onerror system present now is a sufficient flexible
way to handle errors.
I recommend considering this report "resolved".
Mark