Programmers that need to run to CPAN, or at first impulse turn to CPAN at even the most trivial task are little more than script kiddies without much understanding, and, when being interviewed for a job, will be filtered out and discarded at the first opportunity.

Typing in 'fork' and 'wait' hardly takes more effort than searching on CPAN, downloading it, reading the documentation, and then typing in the necessary code so the module can do the trivial task for you. And going the CPAN route robs you from the opportunity to learn some basic coding skills.

Do Not Do A Thing Already Done.
So, if today I use a module that helps me spawn 6 children, but never more than 5 at a time, and tomorrow I have another program that needs to spawn 6 children, but never more than 5, I should not use this module, cause that means doing a thing already done?

Can I at least use use strict; more than once?


In reply to Re^2: Fork multi processes by JavaFan
in thread Fork multi processes by saurya1979

Title:
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, details, 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, summary, 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.