Show
Ignore:
Timestamp:
10/18/08 03:13:23 (5 years ago)
Author:
yappo
Message:

add test for core

Location:
lang/perl/Module-Setup/trunk
Files:
2 added
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Module-Setup/trunk/lib/Module/Setup.pm

    r21561 r21564  
    136136 
    137137    # create skeleton 
    138     return unless $self->create_skeleton; 
     138    $self->create_skeleton; 
    139139    $self->call_trigger( 'after_create_skeleton' ); 
    140140 
     
    336336            }; 
    337337        } else { 
     338            my $body = $type->path_to($file)->slurp; 
    338339            push @{ $template }, +{ 
    339340                $path_name => join('/', @path), 
    340                 template   => $type->path_to($file)->slurp || '', 
     341                template   => $body, 
    341342            }; 
    342343        }