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

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
FWIW this time I agree with zigster.

Perl is a language that allows you to play fast and loose. However it does not free you from the laws of human comprehension. It does not change anything about what is and is not good programming technique. And the sooner you learn that, the sooner you will truly master Perl programming. Allow me to summarize the key points:

  1. If you wish to solve small problems, then scripting is acceptable and can be done much faster than real programming.
  2. If your problems grow into the realm of real programming tasks, scripting as a style is inherently a bad idea.
  3. Perl has not proven or disproven any general principle about good programming technique. It merely sits at an unusual combination of design choices that intentionally does not try to force you to program well.
  4. As I have said many times, I do not like working with programmers who have not absorbed these principles.
Please read what you wrote and what zigster replied with carefully. Then read Re (tilly) 6: Ways of commenting subroutines. Then read all three parts of Avoid symbolic references.

Hopefully between those I have convinced you that good Perl programming is first and foremost good programming, and only secondly does it have anything to do with Perl as Perl.

In reply to Re (tilly) 1: Oh Brother. by tilly
in thread My Laptop talks to me. by frankus

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2022-05-24 13:03 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (82 votes). Check out past polls.