in reply to Problems with HTML::Form 1.00

So I tried a regex. I know I should stick with a module, but I can't figure out HTML::Parser, so this is what I tried:

(@values)= $html =~ /\"Assignment\" value=\"(.*?)\".*?File to submit/i +smg;

The problem is that there is more than one input tag with the same name AND I am only interested in getting those input tags before the text: "File to submit". My regex doesn't work because it only captures the first input tag, since the .* syntax grabs everything up til "File to submit". Okay so I tried the range operator and a few other things and still couldn't get it to work. Right know I have just 2 input tags before that text ("File to submit"), but there could be more depending on the situation. How could I grab the values of those input tags?? Thanks, Monks.