]> iEval git - www-offliberty.git/blobdiff - lib/WWW/Offliberty.pm
Bump version and update Changes
[www-offliberty.git] / lib / WWW / Offliberty.pm
index d7a407af2e281ab1aba1cadd2f5a57378d7af52c..1163d9ee21f1ddc3fb2808bd403031d63c9cc717 100644 (file)
@@ -4,15 +4,15 @@ use 5.008009;
 use strict;
 use warnings;
 use parent qw/Exporter/;
-our $VERSION = '0.002';
+our $VERSION = '1.000001';
 our @EXPORT_OK = qw/off/;
 
-use constant OFF_URL => 'http://offliberty.com/off54.php';
+use constant OFF_URL => 'http://offliberty.com/off02.php';
 
 use HTML::TreeBuilder;
 use HTTP::Tiny;
 
-my $http = HTTP::Tiny->new(agent => "WWW-Offliberty/$VERSION ");
+our $http = HTTP::Tiny->new(agent => "WWW-Offliberty/$VERSION ", default_headers => {Referer => "http://offliberty.com/"});
 
 sub off{
        my ($url, @params) = @_;
This page took 0.021374 seconds and 4 git commands to generate.