Skip to content
Snippets Groups Projects
Commit 3239382a authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

doc/texi2pod: add "use warnings" directive


The script was previously run with perl -w through the shebang
command. Now that the script is executed through direct perl invocation
the -w in the shebang command is ignored. This patch re-enables "use
warnings" whatever way the script is invoked.

Idea-By: default avatarjamal <jamrial@gmail.com>
parent 118bd609
No related branches found
No related tags found
No related merge requests found
#! /usr/bin/perl -w #! /usr/bin/perl
# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. # Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
# markup to Perl POD format. It's intended to be used to extract # markup to Perl POD format. It's intended to be used to extract
# something suitable for a manpage from a Texinfo document. # something suitable for a manpage from a Texinfo document.
use warnings;
$output = 0; $output = 0;
$skipping = 0; $skipping = 0;
%sects = (); %sects = ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment