Subject: | Can't locate object method "new" via package "Data::Dumper" in /DBIx/Class/Schema/Loader/Utils.pm |
I think you may simply need to include 'use Data::Dumper' in Util.pm
t/10sqlite_common.t ..................... 1/217
# Failed test 'Loader initialization'
# at t/lib/dbixcsl_common_tests.pm line 222.
# Can't locate object method "new" via package "Data::Dumper" at
/root/.cpan/build/DBIx-Class-Schema-Loader-0.07002-
XJ9vuT/blib/lib/DBIx/Class/Schema/Loader/Utils.pm line 35.
# Failed test 'correct number of files generated'
# at t/lib/dbixcsl_common_tests.pm line 245.
# got: undef
# expected: '44'
# Failed test 'Expected loader warning'
# at t/lib/dbixcsl_common_tests.pm line 268.
# got: '2'
# expected: '4'
# DBIx::Class::ResultSetManager never left experimental status and
# has now been DEPRECATED. This module will be deleted in 09000 so
please
# migrate any and all code using it to explicit resultset classes using
either
# __PACKAGE__->resultset_class(...) calls or by switching from using
# DBIx::Class::Schema->load_classes() to load_namespaces() and creating
# appropriate My::Schema::ResultSet::* classes for it to pick up. at
/usr/local/share/perl/5.10.0/DBIx/Class/ResultSetManager.pm line 8.
# Can't stat t/var/common_dump: No such file or directory
# at t/lib/dbixcsl_common_tests.pm line 224
# Failed test 'Missing PK warning'
# at t/lib/dbixcsl_common_tests.pm line 270.
# got: '0'
# expected: '1'
Use of uninitialized value $file_count in numeric ne (!=) at
t/lib/dbixcsl_common_tests.pm line 283.
# Looks like you planned 217 tests but ran 4.
# Looks like you failed 4 tests of 4 run.