M
Mark Shaw
Is there a reference somewhere that lists which modules were
released with which versions of perl?
Specifically, I'm facing a situation where Date::Calc - used in a
script which I am responsible for maintaining - is not present at
a customer's site, and he is unwilling to obtain it.
I've bypassed this particular problem simply by rewriting the
missing function locally, but I'd like a more general-purpose way
of predicting which modules will be available on a particular
customer's machines, given the perl version he has. Or, more to
the point, I can avoid the use of modules that weren't released
until later versions of perl, to make my scripts maximally portable
to the entire body of customers - E.G. obviously I should avoid Date,
but Getopt is probably safe.
(I know that if I absolutely have to know for a particular module, I
can always get a customer to check with 'perl -MFoo::Bar -e 1' - but
that's not really what I'm after.)
I checked the perl release history at perl.com, but it doesn't get
that granular.
Thanks!
(If replying by email, see below.)
released with which versions of perl?
Specifically, I'm facing a situation where Date::Calc - used in a
script which I am responsible for maintaining - is not present at
a customer's site, and he is unwilling to obtain it.
I've bypassed this particular problem simply by rewriting the
missing function locally, but I'd like a more general-purpose way
of predicting which modules will be available on a particular
customer's machines, given the perl version he has. Or, more to
the point, I can avoid the use of modules that weren't released
until later versions of perl, to make my scripts maximally portable
to the entire body of customers - E.G. obviously I should avoid Date,
but Getopt is probably safe.
(I know that if I absolutely have to know for a particular module, I
can always get a customer to check with 'perl -MFoo::Bar -e 1' - but
that's not really what I'm after.)
I checked the perl release history at perl.com, but it doesn't get
that granular.
Thanks!
(If replying by email, see below.)