Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

about OO programing in perl

by Thargor (Scribe)
on Feb 16, 2005 at 20:28 UTC ( [id://431736]=perlquestion: print w/replies, xml ) Need Help??

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

Ok I have just started learning perl and want to learn how to do OO programing in perl. If anyone knows of a good tutorial about OO that is very simplistic so that I could just enter it into my computer and play around with it could you please point me in that direction. Or could someone give me a very small program that does virtually nothing but prints out a variable from a class call so I can get the hang of using classes, objects and methods in perl. Thanks

20050220 Unconsidered by Corion from title change to "OO programming references" (keep:13 Edit: 17)

Replies are listed 'Best First'.
Re: about OO programing in perl
by borisz (Canon) on Feb 16, 2005 at 20:49 UTC
      I second this. The Conway book just rocks. I kinda-sorta understood OO Perl a little before I read it, but thanks to this book, my understanding is now rock-solid.
Re: about OO programing in perl
by cowboy (Friar) on Feb 16, 2005 at 20:37 UTC
    perldoc perlboot perldoc perltoot perldoc perltooc perldoc perlbot
    For additional tutorials see:
    perldoc perl
Re: about OO programing in perl
by Enlil (Parson) on Feb 16, 2005 at 20:37 UTC
    Have a look at the documentation that comes with perl (perldoc). For instance, some of these should get you on the right track:
    perlobj
    perlboot
    perltoot
    perltooc
    perlbot

    (not necessarily in that order perhaps)

    -enlil

Re: about OO programing in perl
by duff (Parson) on Feb 16, 2005 at 20:44 UTC
Re: about OO programing in perl
by baztastic (Scribe) on Feb 16, 2005 at 22:17 UTC
Re: about OO programing in perl
by data64 (Chaplain) on Feb 16, 2005 at 22:03 UTC
Re: about OO programing in perl
by TedYoung (Deacon) on Feb 16, 2005 at 20:38 UTC

    Hi, Perl comes with a few:

    perldoc perlboot perldoc perltoot perldoc perltooc perldoc perlbot

    Run each of these from the comandline to view the documents.

    Ted Young

    ($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)
Re: about OO programing in perl
by jacques (Priest) on Feb 16, 2005 at 21:05 UTC
    In case no one has mentioned it yet, there is some information in the perldoc.
Re: about OO programing in perl
by m-rau (Scribe) on Feb 17, 2005 at 09:35 UTC
    You should have followed data64's suggestion before starting to ask this question.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (8)
As of 2024-04-24 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found