in reply to Re: question about running a system and a perl function background
in thread question about running a system and a perl function background

Exactly. That is exactly what I was trying to do. I tried your script, and get the following error:

This Perl hasn't been configured and built properly for the threads mo +dule to work. (The 'useitthreads' configuration option hasn't been us +ed.) Having threads support requires all of Perl and all of the XS modules +in the Perl installation to be rebuit, it is not just a question of a +dding the threads module. (In other words, threaded and non-threaded +Perls are binary compatible.) If you want the use of the threads module, please contact the people w +ho built your Perl. Cannot continue, aborting. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/cygwin-multi +-64int/threads.pm line 28.
Any advice? Thanks.
  • Comment on Re^2: question about running a system and a perl function background
  • Download Code

Replies are listed 'Best First'.
Re^3: question about running a system and a perl function background
by BrowserUk (Patriarch) on Dec 03, 2004 at 18:05 UTC

    Yes. Install a newer version of perl that is configured and built with threads enabled. I would recommend that you get 5.8.4 or 5.8.5.


    Examine what is said, not who speaks.
    "But you should never overestimate the ingenuity of the sceptics to come up with a counter-argument." -Myles Allen
    "Think for yourself!" - Abigail        "Time is a poor substitute for thought"--theorbtwo         "Efficiency is intelligent laziness." -David Dunham
    "Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon