Re: Moose Question
[email protected] (Dave Rolsky)
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 12 Mar 2008, Christopher Brown wrote: > Despite the 'lazy' evaluation, it appears as if the attribute value is being > cached instead of being re-evaluated when the accessor is being called. Lazy just means "don't generate the attribute from the default sub until the _first_ time it is requested". It's still cached. If you want to return a different value each time then you just want a plain old method, not an attribute. -dave /*========================== VegGuide.Org Your guide to all that's veg ==========================*/