perldarren has asked for the wisdom of the Perl Monks concerning the following question:
Hi everybody, I would really appreciate some help with Proc::Simple.
I would like to use Proc::Simple to push an object method into the background ( If that is the correct way to term what I am doing ).
The Proc::Simple docs are really good, they just don't have an example exactly like my situation so my stupidity has unstuck me very quickly.
This is my code:
my $status = $child_procs{$host}{proc}->start( sub { $return = + $hinst->evtwait( GROUP => $host_in_transit->{copy_grp} +->{copy_grp}, MODE => '22', STATE => 'good', TIMEOUT => '9999' ) } );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Proc::Simple store return from background process
by Perlbotics (Archbishop) on Oct 11, 2012 at 18:27 UTC | |
by perldarren (Novice) on Oct 12, 2012 at 10:34 UTC |