Skip to content

Commit

Permalink
Min perl version 5.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
neilb committed Feb 3, 2014
1 parent 5a27faf commit 0a6dae3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Revision history for Perl module Crypt::RandPasswd

0.05 2014-02-03
- Added "use warnings"
- Specified min version of perl 5.6.0

0.04 2013-10-28
- github repo and license type (perl) now specified in Makefile.PL
Expand Down
5 changes: 5 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ WriteMakefile(
: (LICENSE => 'perl')
),

($mm_ver >= 6.48
? (MIN_PERL_VERSION => 5.006)
: ()
),

($mm_ver <= 6.45 ? () : (META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
Expand Down
1 change: 1 addition & 0 deletions lib/Crypt/RandPasswd.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

package Crypt::RandPasswd;

use 5.006;
use strict;
use warnings;

Expand Down

0 comments on commit 0a6dae3

Please sign in to comment.