Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Objects as arrays but with autogenerated getters + setters

by HuckinFappy (Pilgrim)
on Jun 26, 2006 at 21:35 UTC ( [id://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 studying the Monastery: (3)
As of 2024-09-07 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.