Well, why re-invent the wheel? Looks like a task for beanstalkd or Gearman actually. These are work queues or job servers - you connect to it from PHP side and place a job request, and your Perl scripts connect to it to listen for such requests. It's up to you when and how to perform the task, and you can even give some feedback on the task result.
As far as I know clients are available for both applications, both for PHP and for Perl. I'd suggest to start from beanstalkd as it is the simpler one.
In reply to Re: Queuing system for running a perl program
by jmacloue
in thread Queuing system for running a perl program
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |