Subject: | DB_File not specified as a prereq |
The "leo" script has a "use DB_File" statement on top. While DB_File may be part of a standard perl distribution, it can also be missing, especially if db.h or -ldb was not available during compilation of the perl. So it would be good to specify DB_File as a PREREQ_PM.
Alternatively (and maybe a better solution): as the caching is not used by default, the "use DB_File" could be moved to the block where dbmopen() happens, and could be turned into a "require DB_File". In this case the leo script would still work if DB_File is not installed and the user chooses the default operation mode without caching. Instead of a PREREQ_PM specification DB_File could be marked as "recommended" in the META.yml/json file.
Regards,
Slaven