pltommyo has asked for the wisdom of the Perl Monks concerning the following question:
in MAIN::sub RUN { my $arg = $_[0]; fork; do stuff on my $arg; ($arg is a file, stuff is making a report) }
The result:RUN(arg1); wait; RUN(arg2); wait; RUN(arg3); wait;
Tommy O
Edit: chipmunk 2001-07-09
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multiple forks get re-executed
by PrakashK (Pilgrim) on Jul 10, 2001 at 00:18 UTC | |
by pltommyo (Initiate) on Jul 19, 2001 at 18:30 UTC | |
|
Re: Multiple forks get re-executed
by Anonymous Monk on Jul 10, 2001 at 00:23 UTC | |
by chromatic (Archbishop) on Jul 10, 2001 at 02:25 UTC | |
by Anonymous Monk on Jul 10, 2001 at 13:11 UTC |