The following commit has been merged in the master branch:
commit 4f7ad348619205472c2952ab55152ef255e38aef
Author: Guillem Jover <[email protected]>
Date: Sun Oct 25 17:43:27 2009 +0100
Clean up perl shebang line
Use “use warnings” instead of passing “-w”. Remove “--” parameters.
Remove shebangs from perl modules. Remove spaces after “#!”.
diff --git a/dselect/methods/ftp/install b/dselect/methods/ftp/install
index 685127e..bcba43c 100755
--- a/dselect/methods/ftp/install
+++ b/dselect/methods/ftp/install
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# -*-perl-*-
#
# Copyright © 1996 Andy Guy <[email protected]>
@@ -8,6 +8,8 @@
# This program has been distributed under the terms of the GNU GPL.
use strict;
+use warnings;
+
use vars qw(%config $ftp);
#use diagnostics;
diff --git a/dselect/methods/ftp/setup b/dselect/methods/ftp/setup
index a809153..61fb7e0 100755
--- a/dselect/methods/ftp/setup
+++ b/dselect/methods/ftp/setup
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# -*-perl-*-
#
# Copyright © 1996 Andy Guy <[email protected]>
@@ -8,6 +8,8 @@
# This program has been distributed under the terms of the GNU GPL.
use strict;
+use warnings;
+
use vars qw(%config);
#use diagnostics;
diff --git a/dselect/methods/ftp/update b/dselect/methods/ftp/update
index a3b69af..570028d 100755
--- a/dselect/methods/ftp/update
+++ b/dselect/methods/ftp/update
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# -*-perl-*-
#
# Copyright © 1996 Andy Guy <[email protected]>
@@ -8,6 +8,8 @@
# This program has been distributed under the terms of the GNU GPL.
use strict;
+use warnings;
+
#use diagnostics;
use lib '/usr/lib/perl5/Debian';
diff --git a/dselect/mkcurkeys.pl b/dselect/mkcurkeys.pl
index 6c7b701..0e9df45 100755
--- a/dselect/mkcurkeys.pl
+++ b/dselect/mkcurkeys.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl --
+#!/usr/bin/perl
#
# dselect - Debian package maintenance user interface
# mkcurkeys.pl - generate strings mapping key names to ncurses numbers
diff --git a/scripts/Dpkg/Gettext.pm b/scripts/Dpkg/Gettext.pm
index bda0d17..dabf322 100644
--- a/scripts/Dpkg/Gettext.pm
+++ b/scripts/Dpkg/Gettext.pm
@@ -1,4 +1,3 @@
-#!/usr/bin/perl -w
# Copied from /usr/share/perl5/Debconf/Gettext.pm
#
# Redistribution and use in source and binary forms, with or without
diff --git a/scripts/Dpkg/Source/Package/V3/bzr.pm
b/scripts/Dpkg/Source/Package/V3/bzr.pm
index fafbb1d..b30c17a 100644
--- a/scripts/Dpkg/Source/Package/V3/bzr.pm
+++ b/scripts/Dpkg/Source/Package/V3/bzr.pm
@@ -1,4 +1,3 @@
-#!/usr/bin/perl
#
# bzr support for dpkg-source
#
diff --git a/scripts/Dpkg/Source/Package/V3/git.pm
b/scripts/Dpkg/Source/Package/V3/git.pm
index 6b00535..a2dd133 100644
--- a/scripts/Dpkg/Source/Package/V3/git.pm
+++ b/scripts/Dpkg/Source/Package/V3/git.pm
@@ -1,4 +1,3 @@
-#!/usr/bin/perl
#
# git support for dpkg-source
#
diff --git a/scripts/dpkg-architecture.pl b/scripts/dpkg-architecture.pl
index 6efe2af..6e9079e 100755
--- a/scripts/dpkg-architecture.pl
+++ b/scripts/dpkg-architecture.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#!/usr/bin/perl
#
# dpkg-architecture
#
diff --git a/scripts/dpkg-divert.pl b/scripts/dpkg-divert.pl
index 8f03fb6..012be90 100755
--- a/scripts/dpkg-divert.pl
+++ b/scripts/dpkg-divert.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl --
+#!/usr/bin/perl
#
# dpkg-divert
#
diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl
index c79ffd2..5b8685c 100755
--- a/scripts/dpkg-shlibdeps.pl
+++ b/scripts/dpkg-shlibdeps.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
#
# dpkg-shlibdeps
#
diff --git a/scripts/update-alternatives.pl b/scripts/update-alternatives.pl
index e299be4..1b025db 100755
--- a/scripts/update-alternatives.pl
+++ b/scripts/update-alternatives.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl --
+#!/usr/bin/perl
#
# update-alternatives
#
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]