Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Dear fellow Monks,
It’s been a long way since I joined PM. Not so much in time measurable steps, but in terms of my Perl maturity.
When I started attending the site, I had the feeling of being quite low in the programming evolutionary scale. However, continuing to stick around, and increasing the usage of Perl for my admin tasks, I realised that my programming experience could not only adapt to Perl but also be enhanced somehow.
What I noticed was also a trend toward more self discipline in my code. Whenever I write an important piece of code in a less than orthodox way, I catch myself thinking, “What would the PerlMonks say if they could see me coding this lousy shortcut?” and then I would resort to more established practice, making my code more robust in the process.

During these months, it has happened to me several times that when I could not solve a problem, I started writing a request for help to the Monastery. But before posting, I went to the recommended routine: use strict and warnings, check the FAQs, check the Monastery itself, and do some testing on your own. You know, the usual checklist. Almost always, after this exercise, I found the answer without posting. Either I found out that I was reinventing the wheel (higly un-popular sport, I have heard) or I was making a well-documented mistake, or an isolated test would show the error straight away.
Anyway, the very process of preparing a request for submission has given me the answer most of the time. I assume that this is the result of becoming more experienced in the community. I try to anticipate the behaviour of the other Monks, and so doing I can reach a solution without even bothering anyone.

Therefore, the rules for posting a request in the Monastery are also a method to find a solution. A step-by-step procedure to follow if you want to get to the bottom of your riddle. The PerlMonks algorithm for problem solving.

The Monastery is encouraging this behaviour by gently (not always, but, well, we try!) RTFMing the offending newcomers and by rewarding the ones who go through these steps, thus increasing the likelihood that the complying Monks find a solution by themselves and spread the good habit.
It's a mix of learning and self-discipline. This latter is not the kind of imposed behaviour achieved by flogging the offenders, but the reghteous self control that a mature person achieves when exposed to a stimulating environment.
I would like to congratulate all the Monks for keeping the PM engine spinning.
 _  _ _  _  
(_|| | |(_|><

In reply to The PerlMonks algorithm by gmax

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
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (5)
    As of 2018-05-25 19:04 GMT
    Find Nodes?
      Voting Booth?