Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^5: Better Inside-Out Objects :)

by xdg (Monsignor)
on Oct 07, 2006 at 03:25 UTC ( #576789=note: print w/replies, xml ) Need Help??

in reply to Re^4: Better Inside-Out Objects :)
in thread Better Inside-Out Objects :)

That's a problem with Inside-Out Objects

For Data::Dumper, yes, because its OO approach is broken. Not so for Storable. I was speaking generically.

You can't expect to clone an object by copying it's bytes or it's fields.

Ditto for changing its properties by directly accessing its hash, which is why this is a mess.


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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2020-02-26 05:10 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (113 votes). Check out past polls.