Skip to content

Commit ed77228

Browse files
jbergerLeont
authored andcommitted
=encoding direct has to be at the start of the line
1 parent 7b1ac85 commit ed77228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Module/Build/PodParser.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ sub parse_from_filehandle {
2525

2626
local $_;
2727
while (<$fh>) {
28-
next unless /=encoding \s+ (.*)/ix;
28+
next unless /^ =encoding \s+ (.*)/ix;
2929
binmode $fh, ":encoding($1)";
3030
last;
3131
}

0 commit comments

Comments
 (0)