The following commit has been merged in the master branch:
commit 32df990c987814411e5ea4537d12a60a0ca22735
Author: Guillem Jover <[email protected]>
Date:   Wed Apr 17 04:42:49 2013 +0200

    dselect: Use strict and warnings in perl scripts

diff --git a/dselect/methods/Debian/Dselect/Ftp.pm 
b/dselect/methods/Debian/Dselect/Ftp.pm
index c2642e3..70c60bb 100644
--- a/dselect/methods/Debian/Dselect/Ftp.pm
+++ b/dselect/methods/Debian/Dselect/Ftp.pm
@@ -18,6 +18,8 @@ use Exporter;
 use Data::Dumper;
 
 use strict;
+use warnings;
+
 use vars qw(@EXPORT %config $VAR1);
 
 @EXPORT = qw(yesno do_connect do_mdtm add_site edit_site
diff --git a/dselect/mkcurkeys.pl b/dselect/mkcurkeys.pl
index 5e2da65..5a2b2c4 100755
--- a/dselect/mkcurkeys.pl
+++ b/dselect/mkcurkeys.pl
@@ -18,6 +18,9 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+use strict;
+use warnings;
+
 use Scalar::Util qw(looks_like_number);
 
 $#ARGV == 1 || die ("usage: mkcurkeys.pl <filename> <curses.h>");

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to