Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
The node I have started for Class::Struct is worth a look:

For those of you who doesn't want to read it, let me copy my remark:

Class::MethodMaker and Class::MakeMethods are indeed excellent modules. I'm congratulating the authors, and especially, simonm and friends for the excellent documentation provided for the module.
But let's set one thing straight. MethodMaker seems more compact than MakeMethods.
I'll definitely try both. OOP is my addiction anyway... I also want to give credit to Mr Damian Conway.
In my opinion, he has written one of the best programming books in (programming) history.
And I am very lucky that, the book is the "Object Oriented Perl." He provides a whole chapter on Class::Struct and Class::MethodMaker.
I think MakeMethods is written after the book is published!!


Now, the interesting thing about OO Perl is that you can bless anything you can reference...hashes,arrays, Regexps, other objects, and my favorite, coderefs... Here are some links I've been compiling nowadays (mostly coderefs though):

1) Again and again: Object Oriented Perl (e-book and sample chapters available in pdf format)
2) AnonymousSubroutineObjects
3) Limbic~Region's MultiMethod Closures
4) merlyn's column on subrefs(no OOP)

5) ProxyObjects
6) broquaint's "Closure on Closures"

7) Very, very interesting: Class::Prototyped
8) Class::Translucent


The links also contain many other links.

These came to my mind now.
Any additions anyone?? For example on blessing regexps and objects? Possible cool uses?? Let's grow the list.

In reply to Re: How do YOU do OO in Perl? by bakunin
in thread How do YOU do OO in Perl? by batkins

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-23 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found