[pgh-pm] Question on fork

Peter Williams broadway at city-net.com
Wed Apr 7 11:29:06 CDT 2004


Greetings...
I have just joined this list, and wanted first to introduce myself.  My 
name is Peter, and I do freelance web design and perl 
programming.  I've been part of the WPLUG group for a while, and 
am not really sure why I haven't joined this one sooner.  I consider 
myself comfortable with Perl, but there is of course plenty that I 
don't know.

I hate to dive straight in with a question, but this has been bugging 
me, and I'd love any help in putting it to rest.  As the subject 
states, it's about forking processes.

I haven't had a lot of experience using fork, and just last year had a 
situation where I needed to use it in a script.  I checked around for 
howtos and code samples, and got the script running, no problem.  
It's been running in live use since then, still with no problems.  
However... when I set it up, the howtos mentioned that it would 
only work if I used an http method of GET.

The script in question runs off of a sizeable form.  I would prefer to 
have this run with a method of POST.  I've tested it with this 
method, and things do still appear to work.  I'd like to be sure 
though, that it won't create issues with fork.  I've done plenty of 
Googling on it, and can't find other discussions on this topic.  I 
can't even find the site I looked at previously, which said the script 
should use GET.  I do remember that instruction distinctly, but 
don't know the reasoning behind it, or if it is in fact necessary.

So... does anyone know if a script that forks needs to be called 
with GET?  And why is this the case?

Any assistance is appreciated.

All the best,
Peter



More information about the pgh-pm mailing list