On Wednesday 24 Mar 2010 14:09:19 Pry, Jeffrey wrote:
> Hey,
> 
> Does anyone know of good resource to learn object oriented Perl? 

Yes, see the resources at:

http://perl-begin.org/topics/object-oriented/

In addition, there's also this:

http://en.wikibooks.org/wiki/Programming_with_Moose

> Also, can
> Perl be considered truly object oriented?
> 

It depends what you mean by "truly" object-oriented. In Perl 5, you can write 
OO programs with classes, multiple-inheritance, roles, accessors, method 
factories (creating code on the fly), run-time polymorphism, etc. etc. 
However, not everything in Perl 5 is an object - some scalars are just 
strings, integers, array references , hash references, etc. This may not be a 
bad thing, and furthermore http://search.cpan.org/dist/autobox/ can workaround 
some of this limitation.

Regards,

        Shlomi Fish

> Thanks,
> Jeffrey
> 
> ________________________________
> IMPORTANT: The information contained in this email and/or its attachments
> is confidential. If you are not the intended recipient, please notify the
> sender immediately by reply and immediately delete this message and all
> its attachments. Any review, use, reproduction, disclosure or
> dissemination of this message or any attachment by an unintended recipient
> is strictly prohibited. Neither this message nor any attachment is
> intended as or should be construed as an offer, solicitation or
> recommendation to buy or sell any security or other financial instrument.
> Neither the sender, his or her employer nor any of their respective
> affiliates makes any warranties as to the completeness or accuracy of any
> of the information contained herein or that this message or any of its
> attachments is free of viruses.

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Original Riddles - http://www.shlomifish.org/puzzles/

Deletionists delete Wikipedia articles that they consider lame.
Chuck Norris deletes deletionists whom he considers lame.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to