in reply to Re: Re: problem with form value (using cgi.pm)
in thread problem with form value (using cgi.pm)
Ok. Here's your problem: you're missing a comma in your print statement. It should read like so:
print "Qty:", $query->textfield(-name=>"qty$ingredientAoH[$i]{ingID}", -default=>"$ingredientAoH[$i]{qty}", -size=>'10', -maxlength=>'20');
Note the comma between -default=>"$ingredientAoH[$i]{qty}" and -size=>'10'. That fixes your problem. :-)
Gary Blackburn
Trained Killer
In Section
Seekers of Perl Wisdom