X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FHelper.pm;h=e075d6c65f21461d66594a6bf3042adaab74420e;hb=f4fdfd3ec11f76de89708285c3df9befe1a4e702;hp=e5574c83a28b7cd7ac8d98da4243d4a29a38c606;hpb=28323be6f68317a18b4253b762e5dc653cf954a8;p=catagits%2FCatalyst-Devel.git diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index e5574c8..e075d6c 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -19,7 +19,7 @@ use namespace::autoclean; with 'MooseX::Emulate::Class::Accessor::Fast'; # Change Catalyst/Devel.pm also -our $VERSION = '1.33'; +our $VERSION = '1.39'; my %cache; @@ -49,7 +49,7 @@ sub get_sharedir_file { } my $file = file( $dist_dir, @filename); Carp::confess("Cannot find $file") unless -r $file; - my $contents = $file->slurp; + my $contents = $file->slurp(iomode => "<:raw"); return $contents; } @@ -388,7 +388,7 @@ sub _mk_rootclass { sub _mk_makefile { my $self = shift; - $self->{path} = dir( 'lib', split( '::', $self->{name} ) ); + $self->{path} = join('/', 'lib', split( '::', $self->{name} ) ); $self->{path} .= '.pm'; my $dir = $self->{dir}; $self->render_sharedir_file( 'Makefile.PL.tt', file($dir, "Makefile.PL") );