Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How do YOU do OO in Perl?

by tilly (Archbishop)
on Oct 07, 2003 at 06:11 UTC ( #297205=note: print w/ replies, xml ) Need Help??


in reply to How do YOU do OO in Perl?

I use whatever makes sense to me in any given situation, which in production code has meant everything from blessed hashrefs to accidentally creating my own object system. A few examples that made sense to me when I posted them to PM chosen to give a sense of variety.

  1. Re: Shortening "$bar{foo} if exists $bar{foo}"?
  2. Math::Fleximal
  3. Re (tilly) 1: Nested Classes
  4. Class::FlyweightWrapper
  5. RE (2): Filehandle Filter
But I choose to use a straight blessed hashref more often than not.


Comment on Re: How do YOU do OO in Perl?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://297205]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (17)
As of 2015-07-28 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (259 votes), past polls