Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Recomendations For Learning perl?

by huck (Prior)
on Dec 07, 2016 at 21:34 UTC ( [id://1177432]=note: print w/replies, xml ) Need Help??


in reply to Recomendations For Learning perl?

One way to learn that i have not seen here YET is to read other peoples programs. While i have a CompSci background most of my insight has come from looking at how other people solve problems.

There are lots of programs that other people have written here, some advanced some basic. Search for a subject you are interested in solving and just read thru the code that has been posted already. Another such resource is CPAN. At first don't try to understand everything in the code, just try to generally follow their train of thought. Then if you like their style look deeper and try to understand the particulars in the code. Since this is a learning exercise rather than just copying their code and running it try to write your own base code using their techniques. If you run into a problem understanding something FIRST try to search for an explanation by yourself; the Perl documentation websites are useful for this. Your search may provide a number of explanations that will enhance your understanding of that process. Then if you still are confused post a question about it and i am sure you will receive much help to further your understanding of the problem.

As you progress it becomes time to "no longer invent the wheel", and use modules or other existing codebases. When i do this i like to leave comment links in my code that refer to where i learned the technique. But at first go ahead and get your hands and elbows dirty by writing your own code, even if it includes snippets of code from other people.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1177432]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-29 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found