Wow. Thats a lot of verbage for some vague questions. I know its difficult to articulate about something you're not familiar with, but it might be easier to just ask direct questions and we'll let you know if we need more information.

An example might be that I (will) have a script that will take just an order number in, and produce an E-mail transmittable copy ...

One concept that you don't seem too clear on is modules. In Perl, modules are what you use for reusable code. They are also what you use to write a modular program. If your cgi script spawning cgi script concept is intended to achieve modularity, you would be much better off writing modules instead of spawning more scripts.

Otherwise, be careful forking or using multiple threads with cgi. Unless you specifically need a long running process and need to return a screen to the user before a process is finished, you probably want to avoid this.

The best advice I can give you at the moment is get to know cpan. There is a very large collection of modules at your disposal that can save you a lot of work. Cpan is your friend.


In reply to Re: Very new to PERL, want to see if CGI spawn concept is possible and or feasible without major pain by hangon
in thread Very new to PERL, want to see if CGI spawn concept is possible and or feasible without major pain by IrishSteve

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.