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
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
and then it terminates as expected.
I'm on v5.8.0 built for i586-linux-thread-multi.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||