This is my first post to perlmonks. I have been using Perl for about 4-5 years and I need help with a script that I'm writing.
I want to click a checkbox using www::mechanize. The html for the checkbox looks like this:
My script never finds newfield1 nor newfield2 because the checkbox is never getting clicked by www::mechanize.
My code for checking the checkbox looks like this:
my $agent = WWW::Mechanize->new();
my $chk_visa = "chklstCC:0";
Is this correct?