remote-mediawiki tests: use inline PerlIO for readability
commit2388541a77540b8e2acfcf77904515ebb65ffcc5
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 21 Sep 2020 10:39:53 +0000 (21 12:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Sep 2020 19:37:38 +0000 (21 12:37 -0700)
tree271b1a46959c11f30c75c976895832cc3c4716fb
parent4f80bc9bc2706b9ef467fab3c53b6815f37b2854
remote-mediawiki tests: use inline PerlIO for readability

Replace the use of the "open" pragma with a three-arg open in the
places that actually care about UTF-8, while leaving those that
don't (the config parsing).

Unlike the previous "encoding" pragma change this isn't needed for
compatibility with anything. I just think it's easier to read code
that has localized effects than code that changes global settings.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/mw-to-git/t/test-gitmw.pl