i did look at the manual, but i didnt understand it, i am not the smartest programming in the world :( Thanks for the code coltsfoot, i appreciate it! i have a couple of things to ask though...the last line which says

<code> die qq(Can't fork: $!'n); <code/>

is the 'n suppose to be \n? i did run your code in conjunction with what im doing but i still had the same problem, the browser was still communicating with the perl script the whole time the emails were being sent, almost as if the fork wasnt actually sending the emails and the perl script was? i did overcome this by placing close STDIN, STDOUT, STDERR all inside the parent process, that completely cut the parent process from from everything and seems to have done the trick :) i suspect it may cause some other problem im unaware of? now that it seems ive created a fork is there anyway to cancel a fork already in process? thanks rich


In reply to Re: Re: Re: creating a fork process by richp
in thread creating a fork process by richp

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.