Randal and Abigail sort of slammed your list as being too simplistic (which I'm sure it is for them and most of the people they work with), but I think it sounds fairly reasonable. If you're in a programming environment where you have Perl gurus in every cubicle who've been doing this stuff for years, sure, your list is too restrictive.

However, if you're in a programming environment where most of your Perl programmers are fairly new to the language (which I suspect is the case for many of us), I think your list is a good starting point to prevent at least some of the worst programming offenses.

Yes, it would be nice if we all worked with highly experienced people who eat, sleep, and breathe Perl every day, but we generally aren't that lucky. I think that in many shops, Perl programming is something that is done in addition to our "real" work. Having some basic "idiot lights" on the dashboard to help us avoid some of the most common problems can be helpful.

By the time you're surrounded by Perl gurus, you can come up with a different list (if you even need one at that point).

Wally Hartshorn


In reply to Guidelines for the non-Gurus by Wally Hartshorn
in thread Perl Programming guidelines/rules by hakkr

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.