in reply to [Solved]: How to check compatibility of perl modules with Perl version
CPAN won't install a module if it's not compatible with your perl version. If the module requires 5.10.1, it'll tell you and stop. What's more important to me is the minimum version
of perl. For example,
Perl::MinimumVersion requires a minimum of 5.006, so you can check it like this:
Unfortunately, it only works with files on your disk: files, scripts, code, modules, etc.#!/usr/bin/perl -l use strict; use warnings; use Perl::MinimumVersion; my $obj = Perl::MinimumVersion->new( "/usr/local/share/perl5/Perl/MinimumVersion.pm", ); print $obj->minimum_version;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: [Solved]: How to check compatibility of perl modules with Perl version
by Perl300 (Friar) on Jul 07, 2015 at 14:31 UTC | |
by Anonymous Monk on Jul 07, 2015 at 23:03 UTC |
In Section
Seekers of Perl Wisdom