Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Which is best book to start learning Object Oriented Perl?

by Perl300 (Friar)
on Apr 27, 2018 at 15:35 UTC ( [id://1213686]=note: print w/replies, xml ) Need Help??


in reply to Which is best book to start learning Object Oriented Perl?

Thank you all for valuable inputs. I have tried to learn Object Oriented Programming a few times but never did it to my satisfaction. I tried learning only concepts first without any programming language associated, but I couldn't grasp much beyond definitions of objects, classes, methods, inheritance, polymorphism, encapsulation, data hiding etc

So this time I thought may be learning OOP using a language I am familiar with would be better :-)

I'll continue my quest and post on PM when I think I have learned something.

  • Comment on Re: Which is best book to start learning Object Oriented Perl?

Replies are listed 'Best First'.
Re^2: Which is best book to start learning Object Oriented Perl?
by hippo (Bishop) on Apr 27, 2018 at 15:45 UTC
Re^2: Which is best book to start learning Object Oriented Perl?
by markong (Pilgrim) on Apr 28, 2018 at 14:14 UTC

    So, assuming you're already mildly familiar with Perl, but don't know what OOP in general is, I whole-heartily recommend you to read the over-cited book "Object Oriented Perl" by Damian Conway. That book is not only a very good book about Perl's OOP concepts and techniques, it's really one of the best book written about OOP in the CS field, and I've read many on the subject.

    That book is so good, that even if you're a beginner in Perl and don't know what a reference is, it is a self-contained manual on the subject, and by the second chapter will teach you all the concepts and language features necessary to start building Perl classes and more! It is that good!

    Also consider this: while the more Perl modern approach is to use one of the many OO frameworks/libs available (Moose,Mouse,Moo,etc..), consider that the core of those frameworks is built upon the tools and techniques available in Perl 5, which are clearly described in Damian's book.

    Knowing at least some of those things, you won't then be scared or disoriented when reading Moose's manual about refs or blessing, or packages. And you will also able to interpret to some extent error and debug messages when things will inevitably go wrong for some reason.

    You can of course start today making Perl classes using Moose and referring to its manual, but to put to use it (and maybe starting to use some OO software patterns) you'd have some general OO knowledge, and that book will give also that.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found