aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rwxr-xr-xclient2
1 files changed, 1 insertions, 1 deletions
diff --git a/client b/client
index 9ce52a0..c152e30 100755
--- a/client
+++ b/client
@@ -50,6 +50,7 @@ use Fcntl qw/O_CREAT O_EXCL O_WRONLY/;
use Digest::SHA qw/sha256 sha256_hex/;
use MIME::Base64 qw/encode_base64 encode_base64url/;
+use Date::Parse ();
use LWP::UserAgent ();
use Types::Serialiser ();
use JSON ();
@@ -148,7 +149,6 @@ sub request_retry_after($) {
my $r = shift;
my $v = $r->header('Retry-After');
if (defined $v and $v !~ /\A\d+\z/) {
- require 'Date/Parse.pm';
$v = Date::Parse::str2time($v);
if (defined $v) {
$v = $v - time;