OK, already mentioned by McA :-( but i would also give the old fashioned way a try:
my @mp3s = File::Find::Rule->file() ->name( '*.mp3' ) ->in( $myMP3Library ); foreach my $mp3 ( @mp3s ) { # doTheForkStuff... }
Edit: Fixed tag.
And start with $MAX_PROCESSES = 10; or so.
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re: No Performance gain with Parallel::ForkManager
by karlgoethebier
in thread No Performance gain with Parallel::ForkManager
by walto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |