example1.pl: use warnings instead of -w flag

This commit is contained in:
Dietmar Maurer 2016-12-28 10:49:20 +01:00
parent d12f292e8a
commit bc39c2840a

View File

@ -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 # NOTE: you need to run this on a PVE host, or modify the source to
# provide username/password/hostname from somewhere else. # provide username/password/hostname from somewhere else.
use strict; use strict;
use warnings;
use PVE::APIClient::LWP; use PVE::APIClient::LWP;
use PVE::AccessControl; use PVE::AccessControl;