use warnings instead of global -w flag

This commit is contained in:
Dietmar Maurer 2013-10-01 13:03:43 +02:00
parent 495949443a
commit 7c410d6301
7 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
RELEASE=3.0
RELEASE=3.1
VERSION=3.0
PACKAGE=libpve-access-control

View File

@ -1,6 +1,7 @@
package PVE::AccessControl;
use strict;
use warnings;
use Encode;
use Crypt::OpenSSL::Random;
use Crypt::OpenSSL::RSA;

View File

@ -1,6 +1,8 @@
package PVE::Auth::LDAP;
use strict;
use warnings;
use PVE::Auth::Plugin;
use Net::LDAP;
use base qw(PVE::Auth::Plugin);

View File

@ -1,6 +1,8 @@
package PVE::Auth::PAM;
use strict;
use warnings;
use PVE::Tools qw(run_command);
use PVE::Auth::Plugin;
use Authen::PAM qw(:constants);

View File

@ -1,6 +1,8 @@
package PVE::Auth::PVE;
use strict;
use warnings;
use PVE::Auth::Plugin;
use PVE::Cluster qw(cfs_register_file cfs_read_file cfs_write_file cfs_lock_file);

View File

@ -2,6 +2,8 @@ libpve-access-control (3.0-7) unstable; urgency=low
* check_volume_access : use parse_volname instead of path, and remove
path related code.
* use warnings instead of global -w flag.
-- Proxmox Support Team <support@proxmox.com> Tue, 01 Oct 2013 12:35:53 +0200

3
pveum
View File

@ -1,6 +1,7 @@
#!/usr/bin/perl -w
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Long;
use PVE::Tools qw(run_command);
use PVE::Cluster;