Re: Perl intro book for .Net programmer
by McDarren (Abbot) on Aug 19, 2006 at 16:07 UTC
|
As the previous posters have said, probably the two best books to get started with are the Llama, and the Camel (in that order).
Once you get going a bit, there are two others that I would thoroughly recommend:
- Perl Best Practices, by Damian Conway. This one will teach you all the good habits to get into whilst writing Perl code, so that your code becomes readable, robust and maintainable.
- The Perl Cookbook, by Christiansen & Torkington. Literally hundreds of "pre-cooked" recipes for solving some of the most common problems with Perl.
Oh, and you might be interested in the results of this fairly recent poll :)
Cheers,
Darren :) | [reply] |
|
I just wanted to emphasize that recommendation for "The Perl Cookbook": you'll certainly want some sort of tutorial ("Learning Perl" or one of it's competitors), but the "Cookbook" needs to be high on the list right after that, possibly even before the Camel itself. You're in a position where you need to get productive quickly, and the "Cookbook" is ideal for that -- it is not, by the way, just a canned list of recipies, each recipie comes with a short article explaining what's going on: perfect for learning as you go.
"Best Practices" is a good book also, though myself I find that I have at least minor disagreements with quite a few of it's recommendations (perhaps as much as 20%).
Also, the perl online documentation is generally pretty good
and includes a number of "tutorial" articles on different subjects. On a unix box try a "man perl", that brings up a directory of the different man pages, with a section on "tutorials" right near the top.
| [reply] |
Re: Perl intro book for .Net programmer
by sub_chick (Hermit) on Aug 19, 2006 at 14:12 UTC
|
| [reply] |
Re: Perl intro book for .Net programmer
by davido (Cardinal) on Aug 19, 2006 at 15:47 UTC
|
Learning Perl, published by O'Reilly & Associates, affectionately known as the Llama Book is a great starting point. In my opinion, you'll want to start with it, and then migrate to the Camel book. After that, you'll probably end up wanting to buy books that target more specific categories. For example, if you're looking into database programming in Perl, there's the DBI book. And if you're looking into CGI, there's a book for that too.
| [reply] |
Re: Perl intro book for .Net programmer
by planetscape (Chancellor) on Aug 20, 2006 at 11:34 UTC
|
Books rock, but aren't the only way to learn. There are many excellent suggestions for online resources in the node Where and how to start learning Perl, by woolfy. Personally, I really like the training materials assembled by Perl Training Australia - sometimes their explanations "click" better for me than those found elsewhere.
HTH,
| [reply] |
Re: Perl intro book for .Net programmer
by artist (Parson) on Aug 20, 2006 at 11:39 UTC
|
One of the best thing you did is to join PerlMonks. We have also various tutorials, faq and of course, friendly discussions.
| [reply] |
Re: Perl intro book for .Net programmer
by converter (Priest) on Aug 20, 2006 at 06:25 UTC
|
Don't overlook the excellent documentation that is included with Perl (please be sure to install it if given the option). Becoming familiar enough with Perl's documentation that you know where to look for answers without having to think about it will help you progress and reduce the frustration that comes with learning any new language.
| [reply] |
Re: Perl intro book for .Net programmer
by mikasue (Friar) on Aug 19, 2006 at 16:13 UTC
|
The Camel Book is very good for beginners. Do the exercises they really help you grasp the concepts!
I also use cpan.org a lot to learn about the different modules. It's good that you will be using Perl in everyday use. I believe you will pick it up pretty quickly.
Good Luck!
Update: Sorry I mean the llama book (Learning Perl) not the camel book (Programming Perl). I have both. They are very good. | [reply] |
Re: Perl intro book for .Net programmer
by mattDP (Acolyte) on Aug 19, 2006 at 16:13 UTC
|
Thanks for the info. So, the message I'm getting is that I'm best starting off with the Llama, in spite of my experience of other languages. Will do :)
Interesting poll. Pretty decisive too :) | [reply] |
Re: Perl intro book for .Net programmer
by GrandFather (Saint) on Aug 20, 2006 at 21:26 UTC
|
Definitely read The Camel. Not sure the Lama is so important if you have a little programming under your belt. But also get a copy of the Perl Pocket Reference! Whenever you can't remember the syntax for something the Pocket Reference is far and away the quickest way to find it (unless you are using something like Komodo with CallTips turned on).
And, as others have suggested, hang out at PerlMonks. Read the tutorials. Ask questions. Chat in the CB. Answer questions - there's nothing like answering someone else's question to learn how to do something :).
Enjoy your time with Perl.
DWIM is Perl's answer to Gödel
| [reply] |
Re: Perl intro book for .Net programmer
by DrHyde (Prior) on Aug 21, 2006 at 09:19 UTC
|
I'm not sure what constitutes the Microsoft paradigm these days - it's many years since I last touched it, so I don't really know what your background is.
Perl is most at home on Unix, and it shows in the language. If you're not familiar with Unix, then I think you should start there. Not that I can recommend a good book, cos I disremember what I used. Then, as others have said, check out the Llama book. I don't think anyone suggested Effective Perl Programming, which is an old but excellent book. It will help you learn to program in a perlish way instead of just thinking VB or C# in your head and translating it directly. Given that you're an experienced programmer, you'll probably not need the Llama for very long, so consider reading it on Safari instead of in dead-tree format.
What you should move on to after that depends on the tasks you've got to do.
Don't forget about the online documentation. perldoc -f functionname to get the docs on a built-in function; perldoc Module::Name for the docs on a module; and perldoc -q keyword to search the FAQs. That last one is particularly useful and not as well-known as it should be. | [reply] [d/l] [select] |