[Dbix-class] mk_classaccessor in 0.8003

brett gardner brett at clientcomm.com.au
Wed Jul 18 00:42:54 GMT 2007


mk_classaccessor works fine for me in schema objects in 0.8003., but 
DBIx::Class::Storage::Statistics doesnt have the same ancestors that the 
schema objects do.

Ben Staude wrote:
> Hi there,
>
> recently there was a discussion on the list about mk_classaccessor 
> having "dissapeared" with 0.8002, and the Changes for 0.8003 say "Restored 
> mk_classaccessor method for compatibility".
>
> In my code, I have (like proposed in the Cookbook 
> http://search.cpan.org/~mstrout/DBIx-Class-0.08003/lib/DBIx/Class/Manual/Cookbook.pod#Profiling):
>
> package Database::Debug;
> use base 'DBIx::Class::Storage::Statistics';
> __PACKAGE__->mk_classaccessor('sql_string');
>
> Worked fine in the past, but neither does with 0.8002 *nor* 0.8003.
>
> Is this something that still needs to be fixed in DBIC, or would you recommend 
> to change my code (which I'll be happy to do on your advice)?
>
> Thanks a lot in advance,
>
> Ben
>
> _______________________________________________
> 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/dbix-class@lists.rawmode.org/
>
>
>   



More information about the Dbix-class mailing list