http://www.perlmonks.org?node_id=1049086


in reply to Re: Compilation failed in require
in thread Compilation failed in require

What is the "error message"?

When I tried the OP's code here locally, I got:

Bareword "Locale::Codes::Language::LOCALE_LANG_ALPHA_3" not allowed wh +ile "strict subs" in use at /home/soeren/perl5/lib/perl5/Wiktionary/P +arser/Language.pm line 49. Compilation failed in require at /home/soeren/perl5/lib/perl5/Wiktiona +ry/Parser/Section.pm line 8. BEGIN failed--compilation aborted at /home/soeren/perl5/lib/perl5/Wikt +ionary/Parser/Section.pm line 8. Compilation failed in require at /home/soeren/perl5/lib/perl5/Wiktiona +ry/Parser/Document.pm line 6. BEGIN failed--compilation aborted at /home/soeren/perl5/lib/perl5/Wikt +ionary/Parser/Document.pm line 6. Compilation failed in require at /home/soeren/perl5/lib/perl5/Wiktiona +ry/Parser.pm line 8. BEGIN failed--compilation aborted at /home/soeren/perl5/lib/perl5/Wikt +ionary/Parser.pm line 8. Compilation failed in require at test.pl line 2. BEGIN failed--compilation aborted at test.pl line 2.

YMMV...

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)

Replies are listed 'Best First'.
Re^3: Compilation failed in require
by BrowserUk (Patriarch) on Aug 12, 2013 at 10:16 UTC
    When I tried the OP's code here locally, I got:

    I wonder if that the same error as the OP is seeing?

    YMMV...

    So might his...


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.