[debsums] 05/07: Use "use warnings;" instead of "perl -w"
Axel Beckert
abe at deuxchevaux.org
Tue Mar 3 11:35:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository debsums.
commit 25b62a010cad2195382c27f483d6143767bdce0f
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Tue Mar 3 11:15:02 2015 +0100
Use "use warnings;" instead of "perl -w"
---
debian/changelog | 1 +
debsums | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index acd92ee..cce4160 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,7 @@ debsums (2.1~dev) UNRELEASED; urgency=medium
(Closes: #779626)
+ Simplify parsing of dpkg-{parsechangelog,query} output by using more
specific options, allowing to drop the calls to grep and cut.
+ + Use "use warnings;" instead of "perl -w".
+ Remove obsolete CVS keywords.
+ Quote HERE document delimiters to ease syntax highlighting and
please perlcritic.
diff --git a/debsums b/debsums
index 713d827..763731c 100755
--- a/debsums
+++ b/debsums
@@ -1,10 +1,12 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
#
# Check installed files against package md5sums or debs.
#
use strict;
+use warnings;
+
use File::Find 'find';
use File::Temp 'tempdir';
use File::Path 'rmtree';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/debsums.git
More information about the Pkg-perl-cvs-commits
mailing list