X-Git-Url: https://git.proxmox.com/?p=pve-apiclient.git;a=blobdiff_plain;f=examples%2Fexample1.pl;h=4d6d2247f39e973e96c4565fe88fec52852542e7;hp=b0fedeedb4cdd405f24b583c484fe365e8f8c7c1;hb=bc39c2840ad99d9f35c6a6bd9311cd9378c798c1;hpb=d12f292e8a8dafe95eb850641154f99b7bbe4ce2 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;