Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: Reading too much into it?

by raisputin (Scribe)
on Jul 10, 2009 at 19:32 UTC ( #779019=note: print w/replies, xml ) Need Help??

in reply to Re^2: Reading too much into it?
in thread Reading too much into it?

I am a little late to the party here, and as a fairly new perl programmer myself, there have been a lot of times where after reading the documentation for a given perl module I have had to do pretty exhaustive searches to find anything that gave me even a beginning of a clue as to how to do something.

Oftentimes this is because the docs are written for people that are more familiar with perl than I am, or there is a very simple example and it can do "all these other things" but they seem to have no good docs. Why that is, I dunno, it could be that I just don't know what I am looking for, or where to look.

My reason for replying is that there are many things that I am learning on my own, but I often see that I have written some chunk of code and after looking at it I think "Damn, there must be a far better way to do that. I don't particularly want someone to write the code for me, but I wonder sometimes if it would be better if someone that was far better with perl than I took the time to provide the code and then subsequently explain it.

I have found some code snippets on the web that do what I need, and they are very short which is nice other than, while I understand that it works for what I am using it for, I would rather see the 10 lines of code that were smashed down into that fancy one-liner I am now using and I would like to see them explained and a what,why,where,when,how given about why the one-liner works and how it all relates, so some theory I guess.

Just my $.02, but I think examples by experienced folks come in handy. On top of that, the more examples I see or are available, the less questions I generally need to ask :)

Right now I am questioning what I wrote because I am pretty sure that was long-winded and didn't actually cover what I wanted to, but my brain hurts, so I am not bothering to edit it or anything. Deal :)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2019-11-15 12:41 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (83 votes). Check out past polls.