Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: RFR: Inside-out classes - a Class::InsideOut primer

by Anno (Deacon)
on Mar 17, 2007 at 16:04 UTC ( #605281=note: print w/replies, xml ) Need Help??

in reply to Re: RFR: Inside-out classes - a Class::InsideOut primer
in thread RFR: Inside-out classes - a Class::InsideOut primer

Exactly! An inside-out class can become a base class of any Perl class (inside-out or not) without as much as a glance at its implementation. That is the big deal about inside-out. Everything else is coincidental.

For a class author this means you can now publish absolute general-purpose classes. Every other class can simply inherit your methods and data. That is impossible with any of the traditional class implementations. It makes inheritance in Perl what it is in dedicated OO languages.

The tutorial is an excellent introduction to the use of Class::InsideOut, but as a general introduction to inside-out classes it misses the point.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://605281]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2017-09-20 22:51 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (240 votes). Check out past polls.