in reply to POSTing off to different pages in CGI module

Short answer: no. The scope of a submit is the form of which it's a part.

But the short answer is misleading.

There's nothing to prevent you from parsing the input to distinguish by a field in the form (hidden if you wish) that determines whether the script calls crayon.cgi or paint.cgi. That doesn't mean you have to double-deck the scripts:

form.html calls firstscript.pl
firstscript.pl parses the field and calls one or the other

as you can incorporate the selection/dispatch in subs inside firstscript.pl

  • Comment on Re: POSTing off to different pages in CGI module