summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Net/XRC.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Net/XRC.pm b/lib/Net/XRC.pm
index b37f03d..422dd5c 100644
--- a/lib/Net/XRC.pm
+++ b/lib/Net/XRC.pm
@@ -43,7 +43,8 @@ use Net::XRC::Data::complex;
#
#);
-$VERSION = '0.01';
+$VERSION = '0.02';
+$VERSION = eval $VERSION; # modperlstyle: convert the string into a number
$PROTO_VERSION = '1';
$POST_URL = 'https://xrc.everyone.net/ccc/xrc';
@@ -52,6 +53,7 @@ $DEBUG = 0;
my $ua = LWP::UserAgent->new;
$ua->agent("Net::XRC/$VERSION");
+$ua->ssl_opts( verify_hostname => 0 );
=head1 NAME