srchulo
srchulo

Reputation: 5203

How can I tell the lowest required version number of a Perl module?

I'm writing a Perl module and right now I'm including in Makefile.PL all of the dependencies. The only problem is I have all of the latest versions of the modules required, but I don't want to limit anyone who has early versions (and either can't update them or requires older versions for old code). Is there any way to find out what would be the lowest version usable with my module without downloading and testing all of the versions? Thanks!

Upvotes: 1

Views: 92

Answers (2)

Boris Däppen
Boris Däppen

Reputation: 1196

Ever heard of Dist::Zilla? It won't help you with the version problem... but it helps you with a lot of other stuff for creating, maintaining and releasing modules. As mentioned by others, the only way to know the versions working is write tests and test against them...

Upvotes: 1

Andy Lester
Andy Lester

Reputation: 93666

No, there is not an automated way to tell. You probably want to start with reading the Changelog for each module and seeing what changes have occurred.

Upvotes: 2

Related Questions