]> git.proxmox.com Git - pve-common.git/commitdiff
tools, rest env: sort use statements
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 15 Jun 2021 12:24:47 +0000 (14:24 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 15 Jun 2021 12:24:47 +0000 (14:24 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/RESTEnvironment.pm
src/PVE/Tools.pm

index e8a466c2245480b4f25c9cadd1c8a4c44dadaad1..189a6cd3631a50800485ab69326e6cb3f47261fc 100644 (file)
@@ -7,17 +7,18 @@ package PVE::RESTEnvironment;
 
 use strict;
 use warnings;
 
 use strict;
 use warnings;
-use POSIX qw(:sys_wait_h EINTR);
-use IO::Handle;
+
+use Fcntl qw(:flock);
 use IO::File;
 use IO::File;
+use IO::Handle;
 use IO::Select;
 use IO::Select;
-use Fcntl qw(:flock);
+use POSIX qw(:sys_wait_h EINTR);
+
 use PVE::Exception qw(raise raise_perm_exc);
 use PVE::Exception qw(raise raise_perm_exc);
-use PVE::SafeSyslog;
-use PVE::Tools;
 use PVE::INotify;
 use PVE::ProcFSTools;
 use PVE::INotify;
 use PVE::ProcFSTools;
-
+use PVE::SafeSyslog;
+use PVE::Tools;
 
 my $rest_env;
 
 
 my $rest_env;
 
index 11f2d1c77125f092b22929af07572eb913a95335..b4caf5440f26fcbcfccdaaf3e22ba2173bc1f78f 100644 (file)
@@ -3,31 +3,30 @@ package PVE::Tools;
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-use POSIX qw(EINTR EEXIST EOPNOTSUPP);
-use IO::Socket::IP;
-use Socket qw(AF_INET AF_INET6 AI_ALL AI_V4MAPPED AI_CANONNAME SOCK_DGRAM IPPROTO_TCP);
-use IO::Select;
+use Date::Format qw(time2str);
+use Digest::MD5;
+use Digest::SHA;
+use Encode;
+use Fcntl qw(:DEFAULT :flock);
 use File::Basename;
 use File::Path qw(make_path);
 use Filesys::Df (); # don't overwrite our df()
 use File::Basename;
 use File::Path qw(make_path);
 use Filesys::Df (); # don't overwrite our df()
-use IO::Pipe;
-use IO::File;
 use IO::Dir;
 use IO::Dir;
+use IO::File;
 use IO::Handle;
 use IO::Handle;
+use IO::Pipe;
+use IO::Select;
+use IO::Socket::IP;
 use IPC::Open3;
 use IPC::Open3;
-use Fcntl qw(:DEFAULT :flock);
-use base 'Exporter';
-use URI::Escape;
-use Encode;
-use Digest::SHA;
 use JSON;
 use JSON;
-use Text::ParseWords;
+use POSIX qw(EINTR EEXIST EOPNOTSUPP);
+use Scalar::Util 'weaken';
+use Socket qw(AF_INET AF_INET6 AI_ALL AI_V4MAPPED AI_CANONNAME SOCK_DGRAM IPPROTO_TCP);
 use String::ShellQuote;
 use String::ShellQuote;
+use Text::ParseWords;
 use Time::HiRes qw(usleep gettimeofday tv_interval alarm);
 use Time::HiRes qw(usleep gettimeofday tv_interval alarm);
-use Scalar::Util 'weaken';
-use Date::Format qw(time2str);
-use Digest::SHA;
-use Digest::MD5;
+use URI::Escape;
+use base 'Exporter';
 
 use PVE::Syscall;
 
 
 use PVE::Syscall;