I've just updated my Mac to 11.0.1, and I had a perl script that ran successfully before doing that. When I run it now I get
"Can't locate Archive/Extract.pm in @INC (you may need to install the Archive::Extract module)"
I thought that during the upgrade Archive/Extract.pm had been removed, or a link to it had been broken, so I figured I would install it, but when I do that I get the below
I read some posts on possible solutions, and I tried removing the "02packages.details.txt.gz" and the "01mailrc.txt.gz", and rebuilding those files with "perl -MCPAN -e shell", but I still get the same error
Other posts where I should run Strawberry Perl instead, and leave the Perl that came with the OS alone, but I wanted to ask if anyone had any thoughts before I started down that path.
Thanks
cpan[1]> install Archive::Extract.pm
Reading '/Users/root/.cpan/Metadata'
Database was generated on Fri, 14 Dec 2018 11:17:03 GMT
Reading '/Users/root/.cpan/sources/authors/01mailrc.txt.gz'
......................................................................
+......DONE
Reading '/Users/root/.cpan/sources/modules/02packages.details.txt.gz'
Warning: Your /Users/root/.cpan/sources/modules/02packages.details.txt
+.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /Users/root/.cpan/sources/modules/02packages.details.txt
+.gz does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Could not split line[""]
Could not split line[""]
.Could not split line[" !function(f,b,e,v,n,t,s)"]
Could not split line[" {if(f.fbq)return;n=f.fbq=function(){n.callMe
+thod?"]
Giving up parsing your /Users/root/.cpan/sources/modules/02packages.de
+tails.txt.gz, too many errorsReading '/Users/root/.cpan/sources/autho
+rs/01mailrc.txt.gz'
......................................................................
+......DONE
Reading '/Users/root/.cpan/sources/modules/02packages.details.txt.gz'
Warning: Your /Users/root/.cpan/sources/modules/02packages.details.txt
+.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /Users/root/.cpan/sources/modules/02packages.details.txt
+.gz does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Could not split line[""]
Could not split line[""]
.Could not split line[" !function(f,b,e,v,n,t,s)"]
Could not split line[" {if(f.fbq)return;n=f.fbq=function(){n.callMe
+thod?"]
Giving up parsing your /Users/root/.cpan/sources/modules/02packages.de
+tails.txt.gz, too many errorsTerminal does not support GetHistory.
Lockfile removed.