X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FHelper.pm;fp=lib%2FCatalyst%2FHelper.pm;h=4d1b861a2ff9e3d1592b6ba954370b3fb3871e5e;hb=b728fa3cdb9b5da96b3278b4c038407087889706;hp=7efa9ba83b9de050db97e7255655726856d29d73;hpb=387bb03750991ff9ac2b7e1a789553b252d911c4;p=catagits%2FCatalyst-Devel.git diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index 7efa9ba..4d1b861 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -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; }