http://www.perlmonks.org?node_id=493006


in reply to Re: inside-out objects using arrays?
in thread inside-out objects using arrays?

What are you trying to achieve with this approach?

I don't have any particular goal in mind, mostly experimentation. 6 months ago perl objects were something weird where you had to use $foo->bar('baz') in some people's modules. I didn't understand how it worked. Then I learned a bit more. Then I understood the blessed hashref approach. Now I'm trying to get creative, that's all.

Replies are listed 'Best First'.
Re^3: inside-out objects using arrays?
by xdg (Monsignor) on Sep 18, 2005 at 14:21 UTC

    Cool. Experimentation is a good thing in my book. If you haven't picked up a copy of Object Oriented Perl, I do recommend it as a guide to your experimentation. It doesn't cover some of the newer ideas we're talking about here, but the fundamental concepts and thinking all apply. Also, you may find a wealth of useful ideas in the Perl Design Patterns book/wiki. Best of luck,

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.