[Dbix-class] mk_classaccessor now longer available in 08002

Christopher Heschong chris at wiw.org
Fri Jun 22 20:33:04 GMT 2007


<snip>

>> >Try adding
>> >
>> >sub mk_classaccessor { shift->mk_classdata(@_); }
>> >
>> >as a workaround and we'll fix it for 08003.
>>
>> I ran into this myself and just added Class::Data::Accessor as a base
>> class in my code, since that is where the method really comes from.
>
> Please next time report the bug :)
>
>> Plus if you haven't upgraded your production systems to 08002 yet it
>> should be compatible on either version.
>
> Yes, although the Accessor::Grouped 'inherited type which we're now using
> for it is a better approach than Class::Data::Accessor and I'd recommend
> if you're going to change your code you change it to ::Grouped ...

I thought it was a feature!!  But duly noted... still, is it a good idea
to rely on methods not provided (or even documented for that matter) by
the package?

--
/chris/




More information about the Dbix-class mailing list