Subject: | Remove FreezeThaw dependency |
I think the FreezeThaw dependency could be removed, at least if Storable
is already installed on the system, which is the case for every modern
perl5.8.x installation.
Or you could write the Makefile.PL like this (only pseudo code):
my($has_storable, $has_freezethaw);
$has_storable = eval { require Storable; 1 });
if (!$has_storable) {
$has_freezethaw = eval { require FreezeThaw; 1 });
}
if (!$has_storable && !$has_freezethaw) {
# maybe include both to PREREQ_PM?
} elsif ($has_storable) {
# include only Storable to PREREQ_PM
} elsif ($has_freezethaw) {
# maybe include only Storable, or both to PREREQ_PM
}