As a Perl developer who is toying with the idea of publishing a module on CPAN for the first time, I've been wondering: what minimum version of the dependencies should I specify for my modules?
Just to clarify, this question is not:
- how to specify a dependency, or
- how to get the list of installed modules and their versions, or even
- how to get the list of modules my module uses
Up to now I've just been doing "use Foo::Bar $baz", where $baz is the current CPAN version at the time I'm writing the module, and the version I have installed on my system. Is this OK? It seems drastic to require bleeding edge dependencies. How do I find out what's the minimum version of each dependency my module will still run with?
P.S. I can't think of an appropriate, concise and searchable title for this node. Please advise.