Changeset 17992

Show
Ignore:
Timestamp:
08/21/08 23:50:51 (5 months ago)
Author:
tokuhirom
Message:

added test cases for Config::YAMLSyck

Location:
lang/perl/Nanto/trunk
Files:
7 added
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Nanto/trunk/lib/Nanto/Config/YAMLSyck.pm

    r13470 r17992  
    1616 
    1717    $cache->{$class} ||= do { 
    18         my $cfg = catfile(Nanto::Utils::home(__PACKAGE__), config_fname); 
     18        my $cfg = catfile(Nanto::Utils::home($class), config_fname); 
    1919        croak "$cfg not found" unless -f $cfg; 
    2020        YAML::Syck::LoadFile($cfg);