in reply to Re: Perl HTML Form elements Filter
in thread Perl HTML Form elements Filter

I'm not sure what I was thinking when I put the while loop instead the while loop. I like it better like this:
while(<>) { if (/(input|textarea|select).*?name="?(.*?)"?[\s>]/gsi) { prin +t "$2\n" } }
update: This has the known bug of failing if the tag spans multiple lines. Maybe some other ones, too. :)

-mark