]> git.proxmox.com Git - pve-apiclient.git/commitdiff
example1.pl: use warnings instead of -w flag
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 28 Dec 2016 09:49:20 +0000 (10:49 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 28 Dec 2016 09:49:20 +0000 (10:49 +0100)
examples/example1.pl

index b0fedeedb4cdd405f24b583c484fe365e8f8c7c1..4d6d2247f39e973e96c4565fe88fec52852542e7 100755 (executable)
@@ -1,9 +1,11 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 
 # NOTE: you need to run this on a PVE host, or modify the source to
 # provide username/password/hostname from somewhere else.
 
 use strict;
 
 # NOTE: you need to run this on a PVE host, or modify the source to
 # provide username/password/hostname from somewhere else.
 
 use strict;
+use warnings;
+
 use PVE::APIClient::LWP;
 
 use PVE::AccessControl;
 use PVE::APIClient::LWP;
 
 use PVE::AccessControl;