Rose::DB::Object conflicts with Moose?

35 views
Skip to first unread message

xcdc...@gmail.com

unread,
May 29, 2017, 11:18:53 AM5/29/17
to Rose::DB::Object
Hello.

When I am trying to use of Moose in an RDBO-derived objects I get errors.

Code sample:

use MyThing::DB::Object; # <- RDBO subclass
use Moose;

__PACKAGE__->meta->setup( ... etc ... );

The error is:

Can't locate object method "setup" via package "Moose::Meta::Class"

Is there any way to resolve this to be able to make use in objects of both Moose and RoseDB ?

Thank you.

Peter Karman

unread,
May 29, 2017, 4:19:54 PM5/29/17
to rose-db...@googlegroups.com
No. You cannot inherit from both because the meta method conflicts.

--
Peter Karman
--
Source: https://github.com/siracusa/rose
CPAN: http://search.cpan.org/dist/Rose-DB-Object
---
You received this message because you are subscribed to the Google Groups "Rose::DB::Object" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rose-db-objec...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages