Btw, are there any other web pages / tutorials / books / chapters that make us understand Threads in Perl in a better way? PerlDoc has very few examples and it's difficult to understand some concepts ... I'm really not very happy with the perldoc help pages.

I'm personally unaware of other available documentation. That doesn't necessarily mean that they don't exist.

At times I get confused about the documentation for a new function/module that I'm trying to use. What I usually do is very similar to BrowserUk's suggestion. Just write some small test code to test out the function/module to see if I understand what it is doing and how I'm supposed to use it. Sometimes I personally find that kind of experimentation to be far more useful to me in the learning process than the documentation.

In fact, even if I think I completely understand the documentation, I'll still do some small experimental code just to verify if I got it right or not. As BrowserUk suggested, it's much easier to debug that small experimental code while trying to learn the new stuff. And once you have figured things out with the small experimentation code, then you're ready to implement it in the real code that you're trying to develop.


In reply to Re^3: Will Child Threads block the parent thread? by dasgar
in thread Will Child Threads block the parent thread? by vishi

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.