in reply to Re: Automatic vivification of an object
in thread Automatic vivification of an object
I would love to be able to use Moose or something like it, but that's not available to me at my current workplace and is unlikely to be in use any time soon.
The use of AUTLOAD in this case should involve minimal impact since it only ever calls it once (at most). From then on, it is an object of the correct type.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Automatic vivification of an object
by Anonymous Monk on Jan 14, 2015 at 07:06 UTC |