[libhttp-entity-parser-perl] 05/07: open with :unix t::Utils

gregor herrmann gregoa at debian.org
Sun Oct 23 00:23:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to tag 0.02
in repository libhttp-entity-parser-perl.

commit cb70286cdd93039ad1b084e0618e4fbca6e575a1
Author: Masahiro Nagano <kazeburo at gmail.com>
Date:   Thu Feb 6 11:28:27 2014 +0900

    open with :unix t::Utils
---
 t/Util.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/Util.pm b/t/Util.pm
index aa5c518..9d2d6ab 100644
--- a/t/Util.pm
+++ b/t/Util.pm
@@ -10,7 +10,7 @@ our @EXPORT = qw/slurp paml_loadfile build_env/;
 
 sub slurp {
     my $file = shift;
-    open my $fh, "<", $file or die "$!";
+    open my $fh, "<:unix", $file or die "$!";
     scalar do { local $/; <$fh> };
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-entity-parser-perl.git



More information about the Pkg-perl-cvs-commits mailing list