Changeset 25248

Show
Ignore:
Timestamp:
11/28/08 18:25:15 (6 years ago)
Author:
tokuhirom
Message:

fixed deps

Location:
lang/perl/Shika/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Shika/trunk/Makefile.PL

    r25070 r25248  
    33all_from 'lib/Shika.pm'; 
    44 
    5 # requires ''; 
     5if ($]< 5.009_005) { 
     6    requires 'MRO::Compat'; 
     7} 
    68 
    79tests 't/*.t t/*/*.t'; 
  • lang/perl/Shika/trunk/lib/Shika.pm

    r25219 r25248  
    55use Carp; 
    66our $VERSION = '0.01'; 
    7 eval "use mro; 1;" or eval "use MRO::Compat; 1;"; ## no critic 
     7if ($] < 5.009_005) { 
     8    require MRO::Compat; 
     9} else { 
     10    require mro; 
     11} 
    812use Shika::Util; 
    913