Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I can't reproduce your problem with the code given. The last output of your program goes like this:
11733 started. Got arguments: i2 j2 11734 started. Got arguments: k2 l2 11735 started. Got arguments: m2 n2 11736 started. Got arguments: o2 p2 11737 started. Got arguments: q2 r2 Foobar! Foobar! Foobar! Foobar! Foobar! 11737 returned 0. 11734 returned 0. 11736 returned 0. 11735 returned 0. 11733 returned 0. 11738 started. Got arguments: s2 t2 11739 started. Got arguments: u2 v2 11740 started. Got arguments: w2 y2 11741 started. Got arguments: x2 z2 Foobar! Foobar! Foobar! Foobar!
and then it terminates as expected.

I'm on v5.8.0 built for i586-linux-thread-multi.

-- Hofmator

In reply to Re: While loop not exiting when expected. by Hofmator
in thread While loop not exiting when expected. by BazB

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    [LanX]: ah... Denmark is planning to build a wall at the German border!
    [LanX]: # Pestis Africana Suum
    [erix]: that's an old plan, I think. Isn't there already a danewal (or some such name)?
    [marto]: Build with -Wall
    [erix]: Danewerk
    [LanX]: I seem to remember that the danewall was build by the Frankish empire against the Danes
    [erix]: 500 AD thru viking age
    [erix]: that would make sense but wikipedia thinks otherwise
    [LanX]: oh me was wrong ...

    How do I use this? | Other CB clients
    Other Users?
    Others chilling in the Monastery: (11)
    As of 2018-03-22 18:38 GMT
    Find Nodes?
      Voting Booth?
      When I think of a mole I think of:

      Results (283 votes). Check out past polls.