Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: How to learn Perl efficiently

by tachyon (Chancellor)
on Aug 31, 2004 at 07:29 UTC ( #387120=note: print w/replies, xml ) Need Help??

in reply to How to learn Perl efficiently

Perl is about practical. Perl is about getting results fast. Perl is not about correct. There is no one correct way in Perl. As a result it is not necessarily the best language to learn first when you perhaps want a language that trys/forces you learn about structured programming. In some ways Perl is like presenting a 16 year old with a motorbike and encouraging them to play in the traffic. The results may well be spectacular but.....



Replies are listed 'Best First'.
Re: How to learn Perl efficiently
by theroninwins (Friar) on Aug 31, 2004 at 08:52 UTC
    Thanks for all those hints i guess I can now get on my way to learn Perl and enjoy doing so

      That sounds like a good plan. I would also suggest you get some exposure to C.



Re^2: How to learn Perl efficiently
by DrHyde (Prior) on Sep 01, 2004 at 08:39 UTC
    The OP is a computer science student, so I'm assuming that he/she/it has a fairly good grounding in programming (possibly an unwarranted assumption based on the horror stories I hear about some CS courses, but that's another issue).

    With that and a copy of the llama book, I suggest finding a little project where you need some code, then find some perl code somewhere on tha intarweb that claims to do the job, and then learn perl by fixing that code because it's invariably going to be buggy (with insecure being a subset of 'buggy') and/or not a perfect fit for your task. I learnt perl by downloading some of Matt Wright's scripts and fixing their most obvious bugs. This might be a useful exercise, even though there is now the bugfixed NMS versions of them.

    IMO, perl code is correct if:

    • it works (and you know it works cos you've tested it)
    • it is documented
    • someone else can understand it
    which is exactly the same standard I would apply to code written in any other language.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2022-06-25 05:29 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (81 votes). Check out past polls.