Hello MonikaA and welcome to the monastery.
I'm for sure not an expert of OOP but i think also other monks needs to know your Perl skill before suggest some read.
Anyway the priceless free ebook ModernPerl has a chapter dedicated to OOP even iirc is alittle Moose centric.
For some introductionary threads here at perlmonks you can see
There is also an entire book dedicated to the subject (is a 1999 book).
But probably the best thing is to start with official docs about OOP where you can find not 4 anymore 2 tutorials dedicated to OOP
PS as wisely suggested by choroba some tutorial has been removed from recent version of the official docs, so i strike them
L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
| [reply] [d/l] |
| [reply] |
http://perlmaven.com/moo. Don't be put off by the first page; it's a summary of features for people who want to know the difference between Moo and Moose (Moo is much smaller but almost 100% compatible). It's written by a Perlmonk (szabgab) who has given excellent talks at the London Perl Workshop (that I have attended). The tutorials linked to from this site tend to talk about "roll your own" OO with manual "bless"ing of objects. This can confuse (and the code from one of the tutorials didn't work for me some years back). Moo (and similar modules) do much of the hard work for you.
Regards,
John Davies
| [reply] |