Skip Menu |

This queue is for tickets about the WebService-MODIS CPAN distribution.

Report information
The Basics
Id: 104274
Status: resolved
Worked: 5 min
Priority: 0/
Queue: WebService-MODIS

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

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



Subject: Remove unnecessary version and OS restrictions
The following things seem unnecessary and prevent from installing the module on many systems: * minimum perl version specification in Makefile.PL: this is very probably unnecessary and should be removed * minimum module version specifications in PREREQ_PM section of Makefile.PL: this is also very probably unnecessary; if you have a reason to specify a minimum version, then it's good style to document the reason in a short comment here * restriction to $^O eq 'linux' in the module itself: I don't see why other Unix-like systems should not work. The only problematic wide-spread system could be MSWin32 because $ENV{HOME} may be missing here (I don't know), but in this case you could use File::HomeDir instead, e.g. using code like this: my $home = $ENV{HOME} || eval { require File::HomeDir; File::HomeDir->my_home } || die "Please specify home or install File::HomeDir";
Thanks for the hint and sorry for my narrow-mindedness. I´ve seen it in the test reports, but didn´t find the time to look into it until now. I removed all prerequisits as suggested in version 1.3. If a MS Windows user finds a solution I will add it and if a certain minimum version of other modules is required I will reintroduce it and give the reason for it in the documentation.