Skip to content

Commit

Permalink
Fix for old Perl
Browse files Browse the repository at this point in the history
`//`(Defined-or operator) was introduced at Perl 5.10.
  • Loading branch information
syohex committed Mar 4, 2014
1 parent 1aa6bc6 commit d462fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/md2inao.pl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
max_inline_list_length => 55,
});

print encode($output_encoding // 'utf-8', $p->parse($text));
print encode(defined($output_encoding) ? $output_encoding : 'utf-8', $p->parse($text));

__END__
Expand Down

0 comments on commit d462fee

Please sign in to comment.