diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-01-22 02:41:51 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-23 10:56:23 -0800 |
commit | b56867c9866bede78bed30373a193d9c7f2ce2d3 (patch) | |
tree | 4759064f1df7c6fa8a3bcef17fd217974e3ce5ca /notes.c | |
parent | Documentation: fix warning in cat-texi.perl (diff) | |
download | tgif-b56867c9866bede78bed30373a193d9c7f2ce2d3.tar.xz |
Documentation: modernize cat-texi.perl
Good style for Perl includes using the strict and warnings pragmas, and
preferring lexical file handles over bareword file handles. Using
lexical file handles necessitates being explicit when $_ is printed, so
that Perl does not get confused and instead print the glob ref.
The benefit of this modernization is that a formerly obscured bug is now
visible, which will be fixed in a followup patch.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes.c')
0 files changed, 0 insertions, 0 deletions