From: Dietmar Maurer Date: Wed, 28 Dec 2016 09:49:20 +0000 (+0100) Subject: example1.pl: use warnings instead of -w flag X-Git-Url: https://git.proxmox.com/?p=pve-apiclient.git;a=commitdiff_plain;h=bc39c2840ad99d9f35c6a6bd9311cd9378c798c1 example1.pl: use warnings instead of -w flag --- diff --git a/examples/example1.pl b/examples/example1.pl index b0fedee..4d6d224 100755 --- a/examples/example1.pl +++ b/examples/example1.pl @@ -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;