A
andrewjones86
Hi,
I have a Perl CGI script which when ran needs to search through a lot
of text files and remove strings. What I would like to do is have this
sub routine running as a child on its own, while the parent goes and
loads the webpage. I don't want the parent to have to wait for the
child to finish, or its not really asynchronous.
I have looked into fork(), but its not easy to understand and when I
tried more than a basic example I ran into problems.
Any pointers in the right direction would be very much appreciated.
Thanks,
Andrew
I have a Perl CGI script which when ran needs to search through a lot
of text files and remove strings. What I would like to do is have this
sub routine running as a child on its own, while the parent goes and
loads the webpage. I don't want the parent to have to wait for the
child to finish, or its not really asynchronous.
I have looked into fork(), but its not easy to understand and when I
tried more than a basic example I ran into problems.
Any pointers in the right direction would be very much appreciated.
Thanks,
Andrew