in reply to Learning Perl Online
... for me, the best way to learn is to start writing programs, and see what problems you encounter..... everyone runs into the same types of problems over and over, so to really learn, you should force yourself to write something complex..... then you get a handle on data structures and all the advanced stuff like db access, threads, ipc, and all the things you see discussed here.
....personally, in my learning process, i evolved in a few steps, from programs where everything is simple scalar variables, onto arrays, then finally to hashes and all the AoA, HoA, etc etc stuff.
.... in general, you will find that most modules are like blessed hashes.... so you need to get your mind set into seeing things as a complex data structure ...... this is best accomplished by forcing your mind to design some.... like a "story book" problem of grade school, where the teacher asks you to actually use math to model and solve a real world problem
.... so choose some project that interests you, and start writing it....it goes step by step.... first you lay out the skeleton of the program, then step by step adding more complexity( watching for possible bugs each step of the way, and saving all developmental scripts, so you can fallback in case you make a design mistake
...you will not learn much by just reading other people's code....it's 90% perspiration.... so start writing and running code, and modifying other's code, and see what the modifications do.....
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Learning Perl Online
by dwm042 (Priest) on Nov 11, 2009 at 17:06 UTC | |
Re^2: Learning Perl Online
by Anonymous Monk on Nov 12, 2009 at 13:20 UTC | |
by zentara (Cardinal) on Nov 12, 2009 at 13:38 UTC | |
by rlucas (Scribe) on Nov 14, 2009 at 03:32 UTC |