in reply to Re: creating a fork process
in thread creating a fork process

Jured,

In answer to the question you posted in your update, I gave you a -- because you used the f-word in a way that made it sound like you were disgusted with the person for asking the question. I did not think that was appropriate for a message system dedicated to learning Perl. I understand how annoying it can be at times when people ask first and RTFM second. But if it was your intention to ask this person to read what is already available prior to posting, I think you did a poor job of it.

Replies are listed 'Best First'.
Re: Re: Re: creating a fork process
by richp (Initiate) on Feb 18, 2002 at 08:59 UTC
    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