in reply to how do i call a perl script on onClick event of the button
not actually Perl related, it's javascript related, and it won't run with JavaScript disabled browsers... your best bet is to use a submit button, other wise, add this to the input tag:
onClick = "self.location='your_perl_script.pl?with=possible¶meters +=passed';"
In Section
Seekers of Perl Wisdom