From: Dietmar Maurer Date: Tue, 1 Oct 2013 11:07:46 +0000 (+0200) Subject: use warnings instead of global -w flag X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;ds=sidebyside;h=ffd6f2f3abe46244644dcfc1ecf791c5cadb4e5e;p=pve-storage.git use warnings instead of global -w flag --- diff --git a/PVE/Storage.pm b/PVE/Storage.pm index 2642396..7858f41 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -1,6 +1,8 @@ package PVE::Storage; use strict; +use warnings; + use POSIX; use IO::Select; use IO::File; diff --git a/changelog.Debian b/changelog.Debian index 6ef03f2..28b16ae 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -3,6 +3,8 @@ libpve-storage-perl (3.0-14) unstable; urgency=low * storage library: add new helper parse_volname() * storage library: add new helper abs_filesystem_path() + + * use warnings instead of global -w flag -- Proxmox Support Team Tue, 01 Oct 2013 11:28:40 +0200 diff --git a/pvesm b/pvesm index 27b1733..76d345c 100755 --- a/pvesm +++ b/pvesm @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use Getopt::Long; use Fcntl ':flock'; use File::Path;