http://www.perlmonks.org?node_id=871294


in reply to Re: why when I use html::form $input->name work,$input->value doesn't work ?
in thread why when I use html::form $input->name work,$input->value doesn't work ?

Thanks for your replay the input is :
my $CACTIURL = "http://www.xxx.com"; $mech->get($CACTIURL); $mech->set_visible("xxxxxx", $ADMINPASSWORD); $mech->click; my @inputs = $mech->current_form()->inputs(); foreach my $input2 (@inputs) { my $input_type= $input2->type; my $input_id= $input2->id; my $input_value= $input2->value; my $input_name= $input2->name;