Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check module compatibility with different Perl versions

Is there a command line switch or any other easy way that I can check the compatibility of my module with different versions of perl? I understand that if I put use 5.6.1; at the top of a script, the script will have any features later than 5.6.1 disabled. But if I have a module which uses several other modules and so on, I need a quicker way to check what minimum version of Perl to require in my Makefile.PL or Build.PL.

like image 597
Nate Glenn Avatar asked Dec 18 '25 18:12

Nate Glenn


1 Answers

Run your module against Perl::MinimumVersion.

like image 149
mob Avatar answered Dec 21 '25 10:12

mob



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!