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 b0fedee..4d6d224 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;
+use warnings;
+
 use PVE::APIClient::LWP;
 
 use PVE::AccessControl;