Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Strange (for me) behavior of Parallel::ForkManager

by Sterh (Novice)
on Nov 06, 2012 at 19:28 UTC ( #1002567=note: print w/ replies, xml ) Need Help??


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

It works , but how to make it go out of the loop?


Comment on Re^2: Strange (for me) behavior of Parallel::ForkManager
Re^3: Strange (for me) behavior of Parallel::ForkManager
by mbethke (Hermit) on Nov 06, 2012 at 20:01 UTC
    If you need to leave early, you can use "last". Otherwise it will just read to EOF and then quit.
      It does not quit loop after executing last iteration. This is the problem, need it to quit after last iteration but it does not. ...
Re^3: Strange (for me) behavior of Parallel::ForkManager
by ikegami (Pope) on Mar 02, 2013 at 22:36 UTC
    There's only one process that loops. It loops until it reaches the end of the file, at which point it continues after the loop.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002567]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (14)
As of 2014-09-17 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (97 votes), past polls