Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Perl intro book for .Net programmer

by mattDP (Acolyte)
on Aug 19, 2006 at 13:53 UTC ( [id://568354]=perlquestion: print w/replies, xml ) Need Help??

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

Hi,

I'm a seasoned microsoft ASP programmer (7 years experience) who's been working in the .NET framework using VB for the past few years.

Amazingly, I seem to have landed myself a job programming Perl despite a complete ignorance of the language!

Can anyone suggest a good book for me to start to get to grips with the language? The so-called "Camel Book" seems very popular, but I'm not sure how appropriate it is for a beginner with no experience of anything but the microsoft paradigm.

Cheers,
Matt

2006-08-20 Retitled by planetscape, as per Monastery guidelines

( keep:0 edit:9 reap:0 )

Original title: 'Perl into book for .Net programmer'

Replies are listed 'Best First'.
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:

    1. 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.
    2. 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 :)

      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.

Re: Perl intro book for .Net programmer
by sub_chick (Hermit) on Aug 19, 2006 at 14:12 UTC
    Hey mattDP

    When I first started out with Perl, the first book I bought was the ever so popular "Camel Book". Its a book that beginners and the masters can use in my opinon because its a great reference book. But there is a beginners book I recommend too: the 'Llama Book'. You can find reviews of both books and almost all the Perl books in Book Reviews.


    Es gibt mehr im Leben als Bücher, weißt du. Aber nicht viel mehr. - (Die Smiths)"
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.


    Dave

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,

    planetscape
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.
    --Artist
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.
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.

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 :)
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
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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-19 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found