texi2pod.pl: use the warnings module only when it is available.

This commit is contained in:
Alon Bar-Lev 2010-07-28 22:17:00 +02:00 committed by Giuseppe Scrivano
parent 3e25a9817f
commit 05503232c0
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-07-28 Alon Bar-Lev <alon.barlev@gmail.com> (tiny change)
* texi2pod.pl: Use the warnings module only when it is available.
2010-05-27 Giuseppe Scrivano <gscrivano@gnu.org>
* wget.texi (Download Options): Document that -k can be used with -O

View File

@ -23,6 +23,7 @@
# something suitable for a manpage from a Texinfo document.
use warnings;
BEGIN { eval { require warnings; } and warnings->import; }
$output = 0;
$skipping = 0;