Subject: | test script needs to check for db_file |
In the file: t/api3_obj_store_db_file.t there is no check to see if DB_file is available. Since I don't have db installed, this causes the CPAN::Shell install to fail.
I added:
BEGIN {
# Check if DB_File is avaialble. Otherwise, skip this test
eval 'require DB_File';
if ( $@ ) {
print "1..0\n";
exit(0);
}
};
to the beginning and now it skips this test if DB_File is not available.