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.

In reply to Upgrade to Big Sur perl issue by redsox43

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.