Installed Text::Unidecode (with no error message).

Then:

$ perl -e 'use Text::Unidecode' Can't locate Text/Unidecode.pm in @INC (you may need to install the Te +xt::Unidecode module) (@INC contains: ~/perl5/lib/perl5 ~/perl5/lib/p +erl5 /usr/local/Cellar/perl/5.28.0/lib/perl5/site_perl/5.28.0/darwin- +thread-multi-2level /usr/local/Cellar/perl/5.28.0/lib/perl5/site_perl +/5.28.0 /usr/local/Cellar/perl/5.28.0/lib/perl5/5.28.0/darwin-thread- +multi-2level /usr/local/Cellar/perl/5.28.0/lib/perl5/5.28.0 /usr/loca +l/lib/perl5/site_perl/5.28.0/darwin-thread-multi-2level /usr/local/li +b/perl5/site_perl/5.28.0) at -e line 1. BEGIN failed--compilation aborted at -e line 1.

But:

$ ls -lF ~/perl5/lib/perl5/Text total 56 drwxr-xr-x 258 xxx staff 8772 Oct 15 23:02 Unidecode/ -r--r--r-- 1 xxx staff 28162 Nov 26 2016 Unidecode.pm

Tried 3 different installation methods (cpan -i, cpanm, manual install).

(And this module used to work on the same host few years ago. Lot's of system updates since then, though.)

I've read numerous posts on similar topics, but couldn't find any hint to debug this.

Context: MacOS Sierra 10.12.16, perl installed with homebrew

$ uname -a Darwin Drogon.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 21 20 +:07:39 PDT 2018; root:xnu-3789.73.14~1/RELEASE_X86_64 x86_64 $ perl -e 'print $];' 5.028000

Thanx in advance!


In reply to Can't locate installed module by arnauldvm

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.