summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Control/Types.pm
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2012-12-30 03:14:03 +0100
committerGuillem Jover <guillem@debian.org>2013-04-27 23:50:42 +0200
commit9b590b2a54670c919a638a336769ae0687b2e72b (patch)
tree03ed111b6106a49149c60fff5bb27a3ec562171b /scripts/Dpkg/Control/Types.pm
parent726f6e1f097a1c9b26f923dd8d3a70ddc900c7e7 (diff)
downloaddpkg-9b590b2a54670c919a638a336769ae0687b2e72b.tar.gz
Dpkg::Control::Type: Use strict and warnings
Fixes TestingAndDebugging::RequireUseStrict and TestingAndDebugging::RequireUseWarnings. Warned-by: perlcritic
Diffstat (limited to 'scripts/Dpkg/Control/Types.pm')
-rw-r--r--scripts/Dpkg/Control/Types.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Dpkg/Control/Types.pm b/scripts/Dpkg/Control/Types.pm
index a1a659089..f743f1dd0 100644
--- a/scripts/Dpkg/Control/Types.pm
+++ b/scripts/Dpkg/Control/Types.pm
@@ -13,6 +13,9 @@
package Dpkg::Control::Types;
+use strict;
+use warnings;
+
use base qw(Exporter);
our @EXPORT = qw(CTRL_UNKNOWN CTRL_INFO_SRC CTRL_INFO_PKG CTRL_INDEX_SRC
CTRL_INDEX_PKG CTRL_PKG_SRC CTRL_PKG_DEB CTRL_FILE_CHANGES