This is PerlMonks "Mobile"
in reply to Semaphore puzzle
One alternative strategy would be to have the "triggered Perl script" simply save the data – perhaps under a randomly-coined name – then write an entry to a queue file or table giving a timestamp and the filename. A separate process, perhaps triggered by a crontab entry, wakes up to pull entries from this queue and actually post the data.
A reply falls below the community's threshold of quality. You may see it by logging in. |