checbox problem

checbox problem

am 15.09.2007 11:14:32 von bond

How to select checkbox form perl with www::mechanize, what value is for
true?
I tray with OK, true, Yes, Selected, and get that is false value for button.





Help me to solve this problem.

Thanks

Re: checbox problem

am 15.09.2007 14:14:49 von Tad McClellan

Bond wrote:
> How to select checkbox form perl with www::mechanize, what value is for
> true?

>


$mech->tick('user_agreed', 'on');


--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"

Re: checbox problem

am 15.09.2007 15:54:26 von paduille.4061.mumia.w+nospam

On 09/15/2007 04:14 AM, Bond wrote:
> How to select checkbox form perl with www::mechanize, what value is for
> true?
> I tray with OK, true, Yes, Selected, and get that is false value for button.
>
>
>
>
>
> Help me to solve this problem.
>
> Thanks
>
>

The documentation for WWW::Mechanize says to use the 'tick' method. If
you installed the module using ActiveState, the documentation for that
module should be in the ActiveState help menu system.