Skip to content

Commit e1429a5

Browse files
jbergerLeont
authored andcommitted
and encoding must have length
1 parent 33bc65d commit e1429a5

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+ (\S*)/ix;
28+
next unless /^ =encoding \s+ (\S+)/ix;
2929
binmode $fh, ":encoding($1)";
3030
last;
3131
}

0 commit comments

Comments
 (0)