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

What does object oriented mean to PERL, is PERL module from CPAN could be describe as Object? TQ

Replies are listed 'Best First'.
Re: Object Oriented
by Corion (Patriarch) on Feb 05, 2005 at 22:41 UTC
Re: Object Oriented
by ambrus (Abbot) on Feb 05, 2005 at 22:39 UTC

    Read these basic perldocs for the Larry-style objects: perlobj, perltoot, perlboot, overload. (These are just the most basic ones, see perldoc perl for a more complete list.) There are some CPAN modules for other object models.

Re: Object Oriented
by cog (Parson) on Feb 05, 2005 at 22:44 UTC
    First, it's not "PERL", it's "Perl" :-)

    Second, no, a CPAN module is not an object. A CPAN module may or may not implement an object, but that's a different story.

    Basically, a module can provide you with functions, or it can provide you with a way to create an object (a virtual object) which has methods you can call (or it can also do both).

    See the documentation ambrus talks about.