Everybody is raving about Moose these days, but I must say that I still prefer Object::InsideOut. One of the things I love about OIO is its extensive documentation (70 glorious pages worth of pod!). One of things that I find daunting about it is, well, finding back the attribute I'm looking for as I thumb through those seventy-something blasted pages.
So I made myself a cheatsheet. It's not complete yet, but it's already containing what most mortals would use on a daily basis.
(btw, I've used Scribus to generate the 3-fold. Although I really, really want to like that software, I must say that it makes me miss Quark XPress real bad. If anyone has any suggestion for an alternative Desktop Publishing tool, please feel free to let me know.)
Why? (Score:2)
Just curious, why do you prefer OIO over Moose?
Re: (Score:1)
As I said, it's merely a preference. There's nothing that I found so far that is a show-stopper or an overwhelming advantage for any of them. This being said...
The biggest plus of OIO, for me, is how inside-out objects ensure that colliding fields are not clobbered, but masked:
It does look good (Score:1)
The first impression from the synopsis is that the syntax seems pretty comfortable.
And from what I could tell by browsing the docs it does deal with my biggest problem with inside-out-objects: debuggability.
With the dynamic typing in Perl, if I'm confused as to what I'm looking at it's essential to be able to dump the object data structure easily just to see what's what. I'm assuming (well, hoping) that's covered by the "Object Serialization" blurb.
Re: (Score:1)
It is covered. And provided that your class is relatively plain vanilla, the dump() method will do what you want: