diff options
author | Russ Allbery <eagle@eyrie.org> | 2016-01-17 12:39:57 -0800 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2016-01-17 12:39:57 -0800 |
commit | 884297fc439a4c3eba2365cdb810214dfc4f5799 (patch) | |
tree | 10b87c524861257948f0fc6f3caf3ad7ea147c0e | |
parent | 57bcc0cb1e8893f6a39c4fcb902d02b920efde1a (diff) |
Update Perl version declaration and warnings for server scripts
Add use 5.008 and use warnings uniformly to all of the server backend
scripts.
-rwxr-xr-x | server/keytab-backend | 5 | ||||
-rwxr-xr-x | server/wallet-admin | 9 | ||||
-rwxr-xr-x | server/wallet-backend | 5 | ||||
-rwxr-xr-x | server/wallet-report | 9 |
4 files changed, 10 insertions, 18 deletions
diff --git a/server/keytab-backend b/server/keytab-backend index bd5a3f9..6e47331 100755 --- a/server/keytab-backend +++ b/server/keytab-backend @@ -16,10 +16,7 @@ # # The keytab for the extracted principal will be printed to standard output. -############################################################################## -# Declarations and site configuration -############################################################################## - +use 5.008; use strict; use warnings; diff --git a/server/wallet-admin b/server/wallet-admin index 7ba1021..e74b2f1 100755 --- a/server/wallet-admin +++ b/server/wallet-admin @@ -1,12 +1,11 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl # # Wallet server administrative commands. -############################################################################## -# Declarations and site configuration -############################################################################## - +use 5.008; use strict; +use warnings; + use Wallet::Admin; ############################################################################## diff --git a/server/wallet-backend b/server/wallet-backend index ea3e21e..aa83a96 100755 --- a/server/wallet-backend +++ b/server/wallet-backend @@ -2,10 +2,7 @@ # # Wallet server for storing and retrieving secure data. -############################################################################## -# Declarations and site configuration -############################################################################## - +use 5.008; use strict; use warnings; diff --git a/server/wallet-report b/server/wallet-report index 22637ca..6508227 100755 --- a/server/wallet-report +++ b/server/wallet-report @@ -1,12 +1,11 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl # # Wallet server reporting interface. -############################################################################## -# Declarations and globals -############################################################################## - +use 5.008; use strict; +use warnings; + use Wallet::Report; # The help output, sent in reply to the help command. Lists each supported |