I am downloading a file via a remote script, and I need to decompress it, which I've never done before. The printout reports no errors but neither does it create the file! I am not clear on what I should be doing here!
use CGI ':standard';
my $file = "/home/mm/IpToCountry.csv.gz";
my $end_file = "/home/mm/IpToCountry.csv";
my $tar = Archive::Tar->new;
my $tar_errors = $tar->error();
print p("Tar errors ($tar_errors)");