On Mon, Jun 24, 2013 at 02:25:22PM +1200, Paul Findlay wrote:
> Hi,
> 
> I have started to see failed import errors after upgrading DBIx-Class to 
> 0.08250:
> 
> "-cleanee" is not exported by the namespace::clean module
>  "DBIx::Class::Schema" is not exported by the namespace::clean module
>  "carp" is not exported by the namespace::clean module
>  "carp_once" is not exported by the namespace::clean module
>  "carp_unique" is not exported by the namespace::clean module
> Can't continue after import errors at 
> /usr/lib/perl5/vendor_perl/5.8.8/DBIx/Class/Schema.pm line 6
> BEGIN failed--compilation aborted at 
> /usr/lib/perl5/vendor_perl/5.8.8/DBIx/Class/Schema.pm line 6
> Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/parent.pm 
> line 20.
> BEGIN failed--compilation aborted at 
> /usr/lib/perl5/vendor_perl/5.8.8/PINS/Schema.pm line 5.
> 
> The offending line 5 is:
> use parent 'DBIx::Class::Schema';
> 
> I'm running perl 5.8.8 from Red Hat Enterprise Linux Server release 5.9
> 
> Does anyone have tips on how to go about debugging this..?

First off - try to load namespace::clean at the top of your PINS::Schema:

use namespace::clean();

This may be a silly load order issue. If this does not help - provide
your version of namespace::clean, and if possible a dump of %INC *after*
the error occurs (via BEGIN { $SIG{__DIE__} = sub { ...dump here... } } )

Cheers

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to