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

Reading other people's modules and codes

by Swalif (Scribe)
on Sep 04, 2011 at 08:15 UTC ( [id://924049]=perlquestion: print w/replies, xml ) Need Help??

Swalif has asked for the wisdom of the Perl Monks concerning the following question:

Greetings monks,

It's been a while now since I started learning Perl.
I've read some books (learning perl, modern perl...),
wrote some wxPerl, Dancer applications..
I am enjoying learning..
Overall if I want to solve a problem or write an application I can write some code which is not that great but does my job... One aspect that I still don't see any progress in : is reading other peoples code.
For small scripts I can do some reading and modifying but I've downloaded some modules from CPAN and I don't understand the codes let alone contribute to them. I really appreciate your advice in this regard...
  • Comment on Reading other people's modules and codes

Replies are listed 'Best First'.
Re: Reading other people's modules and codes
by Anonymous Monk on Sep 04, 2011 at 09:24 UTC
      --What are you trying to learn by reading other peoples code?
      I want to contribute to some existing projects and benefit from working with the community..

      I really appreciate your time and effort for this wonderful response. I'll go through all of the questions and resources one by one ...
      Also thank you Khen1950fx for your reply...
      my regards

      ++ This was a great answer to the posted question. Very informative and helpful. I've often had the same problems, and I've made it a point to read as much code as I can get my eyes on while I'm here (on PM). These links are a great addition to that.


      "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.." -- George Bernard Shaw

      Thanks for posting these links. As I'm still a beginner with Perl, I'm also trying to learn as much as I can, whether it's by reading books, writing code, or looking for various Perl related sites, the monastery included.

      I'm sure that these links will also help keep me occupied for the next 10 years. Thanks again for the post.

Re: Reading other people's modules and codes
by Khen1950fx (Canon) on Sep 04, 2011 at 09:07 UTC
    When I first started in Perl, I held on to perlintro like white on rice. I gives an extremely useful overview of Perl that will help you understand other people's code. Just make a habit of reviewing it everyday, and you'll get it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://924049]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 23:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found