I understood your question of wanting to have two different scripts being invoked on the same form request, and that is not how it is supposed to happen. Yet, you can have tricks to accomplish what you want

What usually happens is that one single script is invoked and then processes and takes one or more tasks/actions. What I was trying to tell you is that could look at a means of doing your two tasks on the same script.

I don't really know your need for having two scripts, but as an example, the same script could go and read info from a database to send back to the client and at the same time log the request on a file. So these two tasks, despite being different, can be accomplished in one script instead of being processed by two separate ones.

So the point is, do you really need to have two scripts?


In reply to Re^5: submit to muliple actions by olus
in thread submit to muliple actions by vit

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.