in reply to Re^2: Calling internal subroutine from a form submit
in thread Calling internal subroutine from a form submit

Then you have to substitute the process.pl by yourmainscript.pl!

<FORM ACTION="yourscript.pl" METHOD="POST">

whatever the name of your mainscript is...