From f5761a41c12df812ef6c3dd3f9a15654deead958 Mon Sep 17 00:00:00 2001 From: David Steele Date: Tue, 3 Mar 2015 10:03:55 -0500 Subject: [PATCH] Modules cleanup. --- lib/BackRest/Remote.pm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/BackRest/Remote.pm b/lib/BackRest/Remote.pm index d63fa0f99..9cc305329 100644 --- a/lib/BackRest/Remote.pm +++ b/lib/BackRest/Remote.pm @@ -7,20 +7,20 @@ use strict; use warnings FATAL => qw(all); use Carp qw(confess); -use Scalar::Util; -use Net::OpenSSH; -use File::Basename; -use POSIX ':sys_wait_h'; -use Scalar::Util 'blessed'; -use Compress::Raw::Zlib; -use IO::String; +use Net::OpenSSH qw(); +use File::Basename qw(dirname); +use POSIX qw(:sys_wait_h); +use Scalar::Util qw(blessed); +use Compress::Raw::Zlib qw(WANT_GZIP Z_OK Z_BUF_ERROR Z_STREAM_END); +use IO::String qw(); use lib dirname($0) . '/../lib'; -use BackRest::Exception; -use BackRest::Utility; - -use fields qw(name weight _Pet_pid); +use BackRest::Exception qw(ERROR_PROTOCOL); +use BackRest::Utility qw(log version_get trim TRACE ERROR ASSERT true false); +#################################################################################################################################### +# Exports +#################################################################################################################################### use Exporter qw(import); our @EXPORT = qw(DB BACKUP NONE);