From 4cf38914636db3b8671adf42734571f59fb8e65d Mon Sep 17 00:00:00 2001 From: Kaimi Date: Thu, 5 Jul 2018 13:02:59 +0300 Subject: [PATCH] more debug info --- src/ya.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ya.pl b/src/ya.pl index 87728c6..d3ae9c1 100755 --- a/src/ya.pl +++ b/src/ya.pl @@ -244,6 +244,8 @@ my $json_decoder = JSON::PP->new->utf8->pretty->allow_nonref->allow_singlequote; my @exclude = (); my @include = (); +info(DEBUG, 'OS: ' . $^O . '; Path: ' . $^X . '; Version: ' . $^V); + if($opt{proxy}) { $ua->proxy(['http', 'https'], 'http://' . $opt{proxy} . '/');