in reply to Re: Re-blessing || Re-constructing objects
in thread Re-blessing || Re-constructing objects
In Perl 5, blessing is just a way to attach a dispatch table to some data structure. If I want my data structure to behave differently at different points in time the obvious solution is to change its dispatch table accordingly, so reblessing it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Re-blessing || Re-constructing objects
by perrin (Chancellor) on Apr 18, 2006 at 11:16 UTC | |
by salva (Canon) on Apr 18, 2006 at 18:10 UTC | |
by demerphq (Chancellor) on Apr 18, 2006 at 18:53 UTC | |
by perrin (Chancellor) on Apr 18, 2006 at 18:53 UTC | |
by demerphq (Chancellor) on Apr 18, 2006 at 21:30 UTC | |
by salva (Canon) on Apr 18, 2006 at 19:03 UTC | |
by perrin (Chancellor) on Apr 18, 2006 at 19:45 UTC | |
| |
|
Re^3: Re-blessing || Re-constructing objects
by dragonchild (Archbishop) on Apr 18, 2006 at 11:59 UTC |