Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Objects as arrays but with autogenerated getters + setters

by HuckinFappy (Pilgrim)
on Jun 26, 2006 at 21:35 UTC ( #557664=note: print w/replies, xml ) Need Help??


in reply to Objects as arrays but with autogenerated getters + setters

Isn't this what Object::InsideOut does (and a whole lot more)?
  • Comment on Re: Objects as arrays but with autogenerated getters + setters

Replies are listed 'Best First'.
Re^2: Objects as arrays but with autogenerated getters + setters
by tinita (Parson) on Jun 26, 2006 at 21:41 UTC
    thanks, i will have a look at that, too. i thought in inside out objects attributes are stored in hashes with the object (stringified) as a key. that would be an extra hash lookup.

    edit: ah, a sequence number can be used for the id of an object. seems this could be what i want (edit2: although O::IO does way more than i need, and actually in some cases i might not want to use inside-out objects.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2023-12-07 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (32 votes). Check out past polls.

    Notices?