Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Like learning any skill, the fundamental requirement is practice.

Since practice for the sake of practice is rather dull, and not especially rewarding, it is often better to practice on something you have an interest in. Instead of merely using book examples or "problems", try and find some task that you would like to do, and make a program to solve it. This could be something like picking lottery numbers, checking your favorite baseball player's stats, or finding duplicate files on your hard drive, whatever you have an interest in.

The idea is to focus on the problem and not the programming. Subjecting yourself to dozens of academic examples will not teach you how to solve problems, which is really what programming is all about.

I would recommend reading Programming Perl's function section, and familiarize yourself with every function that there is, though obviously not all at once. Understanding the tools you can use is very important, as there is often a single function which can save you a lot of time compared to writing your own out of ignorance. You won't understand all of them at first, but without exposure, you will never understand, so just take it at a comfortable pace. You must learn the vocabulary in order to learn the language.

Unlike Learning Perl, which is more of a tutorial, Programming Perl is more of a reference, which means that you aren't necessarily expected to read it cover-to-cover in a direct sense. It's there for you to pick up when you need help with something, like how split works, or to find a function that sorts. It's like a dictionary in that sense.

Making it enjoyable will make your learning more productive.

In reply to Re: Best Approach to Learn Perl for a Non Programmer by tadman
in thread Best Approach to Learn Perl for a Non Programmer by dru145

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 scrutinizing the Monastery: (3)
As of 2024-03-19 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found