mkenney has asked for the wisdom of the Perl Monks concerning the following question:

As you can see from the donations page I'm trying to keep donating every-time I ask the always helpful and knowledgable group who contribute to this page. Hope everyone realizes that it is a free-form contribution amount, you get a response that saves you hours of frustration, kick in a couple of dollars to get more help in the future.

Those who help the rest of us routinely, Thank-You, you are the ones who really make this great site work out

Now for my question:-) I want to kick off a seperate perl program to run on its own when another perl program is accessed via an apache cgi hit. Let call the prgram that apache calls on 'parta.cgi' and the program I want to run each time it is accessed 'partb.pl'. The second program runs an Excel export from a database. I'm self learned and have lots of holes in my knowledge. Please help me out, I should know how to do this.

HAPPY HOLIDAYS!
  • Comment on How do you run a seperate Perl program when another program is accessed?

Replies are listed 'Best First'.
Re: How do you run a seperate Perl program when another program is accessed?
by mrborisguy (Hermit) on Dec 25, 2005 at 05:02 UTC

    You're going to want to look into fork.

        -Bryan

Re: How do you run a seperate Perl program when another program is accessed?
by revdiablo (Prior) on Dec 25, 2005 at 08:05 UTC

    You're in luck my friend, because our good friend merlyn has an article about this very topic.