http://www.perlmonks.org?node_id=1002573


in reply to Re^2: Strange (for me) behavior of Parallel::ForkManager
in thread Strange (for me) behavior of Parallel::ForkManager

If you need to leave early, you can use "last". Otherwise it will just read to EOF and then quit.

Replies are listed 'Best First'.
Re^4: Strange (for me) behavior of Parallel::ForkManager
by Sterh (Novice) on Nov 07, 2012 at 01:27 UTC
    It does not quit loop after executing last iteration. This is the problem, need it to quit after last iteration but it does not. ...