Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

OO in perl

by Anonymous Monk
on Aug 07, 2000 at 13:06 UTC ( #26521=perlquestion: print w/replies, xml ) Need Help??

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

Hi, Can anyone, please, tell me where can I find good tutorials, book or whatever about OOP in perl ? Thanks Dror

Replies are listed 'Best First'.
perlboot
by merlyn (Sage) on Aug 07, 2000 at 16:29 UTC
      This is a very good tutorial. Is "use base ModuleA::ModuleB" only available in Perl 5.6?
Re: OO in perl
by ar0n (Priest) on Aug 07, 2000 at 13:28 UTC
Re: OO in perl
by jlp (Friar) on Aug 07, 2000 at 13:29 UTC
    There are several good resources. For two of them, you need look no further than your own hardrive, if you have perl installed. The perltoot manpage, and the perlboot manpage (perlboot comes with perl 5.6.0 only) are both excellent OO Perl resources. As far as books go, Damian Conway's Object Oriented Perl from Manning Press comes highly recommended, though I personally haven't read it (yet).
Re: OO in perl
by coreolyn (Parson) on Aug 07, 2000 at 18:54 UTC

    If you have the new camel (3rd Ed.) Chapter 12 gives a fair overview if you understand OO and perl but haven't put the two together yet.

    The already mentioned Object Oriented Perl by Damien Conway is, in my humble opinion, the best way to go. As it not only walks you through the pro's and con's of different object constructs but, for this reader, openned up a new way of looking at perl itself in it's 2nd Chapter

    As for the O'Rielly Advanced Perl Programming, I have a hard time recommending that particular book to any one but 'C' programmers and even then with some reluctance as it's almost apologetic treatment of perl & OO-perl makes a person feel like they are just practicing an exersize in OO rather than learning to exploit and explore perl Objects.

    Going through my bookmarks I found this reference Steve's OO perl Page but I haven't checked it out yet.

    coreolyn Duct tape devotee.
RE: OO in perl
by Anonymous Monk on Aug 07, 2000 at 21:18 UTC
    Honestly, if I want to use OO for anything, I break out python. Don't start flaming, but python is far better suited for this. I'm a true believer that every language has it's place and I love perl, but the OOP stuff is just too much for me to bother with when there are more practical solutions.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2021-09-22 03:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?