Re: coerce via not being called
[email protected] (Bill Moseley) Sun, 1 Sep 2013 12:48:44 -0700
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <CAKhN_m5bnLf361HfPBJY_DhR2deL-iJ19S0DgJVe=mS9vA-BHw@mail.gmail.com> |
On Sun, Sep 1, 2013 at 12:25 PM, Jesse Luehrs <[email protected]> wrote: > > And this attribute is created: > > > > has pool_type => (is => 'ro', isa => LoadedClass); > > The attribute definition here needs "coerce => 1". > Geeze, I pasted that at the last minute w/o noticing. Thanks. Check the obvious first. -- Bill Moseley [email protected]