Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I don't think someone who is very new to Perl should be ashamed of themselves for asking for help or for anything they don't know about it, including any of its features and pitfalls, let alone anything as obscure as use strict and use warnings. They are hardly intuitively obvious, perl doesn't deem them worthy of mention until the very end of the page, and one has to read perlsyn quite thoroughly before finding use warnings suggested.

Nor do I think that failure to use them has anything to do with the problem at hand. But, to be sure, I tried adding them to the program in the original post and running it to see if it provided any clarification of what might be the cause of the problem. They didn't help.

None the less, I think use strict and use warnings are valuable features, especially for beginners. A more gentle introduction is in The strictures, according to Seuss, which I recommend.

If anyone should be ashamed, it is those of us with enough experience to know how commonly beginners are unaware of the goodness of Perl and how to use it well, yet lambaste them when they ask for help rather than encouraging them in their studies and their seeking of wisdom.


In reply to Re^2: It LOOKS right... by ig
in thread It LOOKS right... by BIOM01

Title:
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 How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found