in reply to Running subs ,,in background''

use Proc::Simple;
$myproc = Proc::Simple->new(); # Create a new process object $myproc->start(\&draw, # Launch a perl subroutine $param1, ...); # with parameters
For robust threading please look at POE

Replies are listed 'Best First'.
Re^2: Running subs ,,in background''
by lRem (Scribe) on Nov 24, 2005 at 10:31 UTC
    This is exactly what I wanted and runs perfectly :) Thanks for the advice.
    --
    Someday, people who know how to use computers will rule over those who don't. And there will be a special name for them: secretaries. -Dilbert quote