On Thu, Jun 21, 2007 at 01:16:43PM +1000, brett gardner wrote:
> You can no longer do
> 
> __PACKAGE__->mk_classaccessor('foo')
> 
> in the current version of DBIx::Class (08002).
> 
> Is this be design? I have used this feature quite extensively throughout 
> my applications.

Ah, we replaced Class::Data::Inheritable with Class::Data::Accessor a while
back, and made mk_classdata proxy to mk_classaccessor.

Then when we moved to Class::Accessor::Grouped the mk_classdata proxy was
moved to use that rather than mk_classaccessor in turn becoming a proxy.

Try adding

sub mk_classaccessor { shift->mk_classdata(@_); }

as a workaround and we'll fix it for 08003.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to