in reply to Parsing cgi variable lists

foreach (values $ARGS{LineItem}) { $SQL->execute( $PONum, $ARGS{"first-${i}"}, $ARGS{"second-${i}"}, $ARGS{"third-${i}"} ); }
Where is $i coming from shouldn't you be using foreach my $i (values $ARGS{LineItem}) I may be missing something though.

Ted
--
"That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
  --Ralph Waldo Emerson