$ CPAN "There is an upgrade available to cpan" (grreeeat) "Do you want to install it instead using the old version available in +Debian testing?" (whynot?... yup) Hum... this is taking a lot of time and I need to go out. I'll stop it

No good idea remains unpunished. Now all my perl scripts refuse to run sending this message

Can't locate strict.pm in /usr/local/lib/x86_64-linux-gnu/perl/5.24.1/strict.pm Denied permission at myperlscript line 4

Strangely my sql scripts started crashing with exactly the same message; And this is how I discovered that psql is in fact a perl script (awesome!)

I tried to rm cpan and to reinstall cpan two or three times, but the problem is not solved. I'll appreciate any suggestion about how to clean the blood in this train wreck and reboot perl. Thanks

UPDATED: I can run perl scripts as root still (but not psql)


In reply to I nuked strict.pm. Now postgres don't want to talk to me by pvaldes

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.