On 2014-01-06 19:22:17, SREZIC wrote:
Show quoted text> This module is also missing in PREREQ_PM, it seems.
Now I see that there's no PREREQ_PM at all, as the module uses Module::Install. Probably there's a way to specify prerequisites correctly also with Module::Install-based distributions, but the following code snippet is clearly wrong:
if(@not_available) {
print qq{# The following modules are not available.\n};
print qq{# `perl $0 | cpanm` will install them:\n};
print $_, "\n" for @not_available;
exit 1;
}
A build script should never do an "exit" for missing prerequisites; missing prereqs should be resolved by the installer program automatically (CPAN.pm, CPANPLUS or cpanm).