Added logging of the last run + moved use IO::Socket::SSL earlier in pcurse.pm to avoid warnings about prototype mismatch

This commit is contained in:
2019-07-13 15:28:54 +02:00
parent 17a3fe2a31
commit bd6339a2a4
2 changed files with 11 additions and 5 deletions

View File

@ -2,13 +2,13 @@
package pcurse;
use strict;
no warnings 'all';
use IO::Socket::SSL;
use Getopt::Long;
use Archive::Extract;
use Thread::Pool;
use JSON;
use LWP::UserAgent;
use HTML::HTML5::Parser;
use IO::Socket::SSL;
use feature ':5.10';
sub merge_opts {
@ -35,7 +35,7 @@ sub parse_arguments {
"baseuri=s" => \$toret->{'baseuri'},
"config=s" => \$toret->{'config'},
"test" => \$toret->{'test'},
"workers" => \$toret->{'workers'},
"workers=i" => \$toret->{'workers'},
"debug" => \$toret->{'debug'},
"add=s" => \$toret->{'add'},
"name=s" => \$toret->{'name'},