Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to guess minimum perl version a particular script is written for?

Tags:

perl

perl5.8

I have a bunch of scripts that I wrote at times when I did not realize how use v1.2.3; can be useful. So some of them may be using features from later versions of perl, some of them may be OK with, say, perl 5.8.

Now I would like to get that into some order and add proper uses where there is need for them, just to be able to sleep better. :-)

How should I do that? Is there any tool that could help me make an educated guess?

like image 251
Alois Mahdal Avatar asked Feb 29 '12 20:02

Alois Mahdal


1 Answers

Perl::MinimumVersion

Find a minimum required version of perl for Perl code

like image 114
toolic Avatar answered Nov 12 '22 23:11

toolic