Permalink
Browse files

simplify check for https availability

  • Loading branch information...
1 parent f83bb81 commit 41def42c263dc5e44d57cdc1233b0f50eac6010f @gray committed Jun 17, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 xt/live.t
View
@@ -16,8 +16,7 @@ unless ($debug) {
diag "Set GEO_CODER_MAPQUEST_DEBUG to see request/response data";
}
-my $has_ssl = eval { require Crypt::SSLeay; 1 } or
- eval { require IO::Socket::SSL; 1 };
+my $has_ssl = eval { require Net::HTTPS; 1 };
my $geocoder = Geo::Coder::Mapquest->new(
apikey => $ENV{MAPQUEST_APIKEY},

0 comments on commit 41def42

Please sign in to comment.