in reply to Calling a PERL script from an html form

Why are you defining 4 separate form blocks each with only a single and related input field but none of them have a submit field?

I see a possible problem with the value of the action attribute on the first form which is the line 157 you referred to.

<form action = "localhost/home/phillip/Documents/Aptana Studio 3 Workspace/project/scriptdone5.pl" METHOD = "post" target = "_blank">

Somehow I doubt that the path you specified is correct i.e., it's not based/rooted off of your DocumentRoot.