Show
Ignore:
Timestamp:
12/28/07 11:23:38 (13 months ago)
Author:
tokuhirom
Message:

r3644@mnk (orig r294): tokuhiro | 2007-03-01 07:13:29 -0800
use Path::Class.


Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Archer/lib/Archer/ConfigLoader.pm

    r3696 r3697  
    66use Carp; 
    77use Kwalify qw(validate);  
     8use Path::Class; 
     9use FindBin; 
    810 
    911sub new { bless {}, shift } 
     
    1214    my ( $self, $stuff, $context ) = @_; 
    1315 
    14     my $assets_dir = File::Spec->catfile($FindBin::Bin, 'assets');  
    15     my $schema_file = File::Spec->catfile( $assets_dir, 'kwalify', 'schema.yaml' ); 
     16    my $schema_file = file( $FindBin::Bin, 'assets', 'kwalify', 'schema.yaml' ); 
    1617 
    1718    my $config;