Skip Menu |

This queue is for tickets about the WWW-Dict-Leo-Org CPAN distribution.

Report information
The Basics
Id: 91464
Status: resolved
Priority: 0/
Queue: WWW-Dict-Leo-Org

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.36
Fixed in: (no value)



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
fixed in 1.39. Caching will be disabled if DB_File is not available. best, Tom