When a page is generated and has a form in it, can the form's action be to access a subroutine elsewhere in the script?

Well, if you mean the action attribute of the form tag, thats not the way to go about it. One way is to include a hidden form field with the name of the subroutine you want to run:

<input type=hidden name=action value=new>


after parsing the form data check the value of the "action" paramater:

if ($form{'action'} eq 'new') {&new;}
elsif ($form{'action'} eq 'reg') { &reg; }
elsif ($form{'action'} eq 'procreg') { &procreg; }
elsif ($form{'action'} eq 'creg') { &creg; }
elsif ($form{'action'} eq 'proccreg') { &proccreg; }
elsif ($form{'action'} eq 'forgot') { &forgot; }
elsif ($form{'action'} eq 'sendinfo') { &forgot; }
else { &enter;}