in reply to Return all the data from child to parent with Parallel::Forkmanager
Yikes! Since other monks have answered your actual question, I'm just going to point out that there's a better way to do this:@eval_code=("read_genome();","read_mapfile();","read_GTF();","read +_RM();"); foreach$eval_code(@eval_code) { eval$eval_code; }
my @subs = (\&read_genome, \&read_mapfile, \&read_GTF, \&read_RM); foreach my $sub (@subs) { &$sub(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Return all the data from child to parent with Parallel::Forkmanager
by Corion (Patriarch) on Aug 18, 2017 at 13:52 UTC | |
by Anonymous Monk on Aug 18, 2017 at 15:21 UTC | |
by Corion (Patriarch) on Aug 18, 2017 at 20:38 UTC |