in reply to dynamic form inputs

You might find it helpful to use CGI.pm instead of the very outdated cgi-lib. See also use CGI or die.

gav^