in reply to Compilation failed in require
The problem appears to be a relatively simple coding error in Wiktionary::Parser::Language.
When it uses Locale::Codes::Language, is disables imports: use Locale::Codes::Language qw(); and attempts to obtain access to the constants, that would have been imported, by using fully qualified names:
my @all_names_3 = Locale::Codes::Language::all_language_names(Locale:: +Codes::Language::LOCALE_LANG_ALPHA_3);
The problem appears to be that those exports do not originate in that module, but rather are themselves imported from Locale::Codes::Constants.
The real question here is how could Wiktionary::Parser work anywhere, regardless of how it was installed, given such a fundamental programming error?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Compilation failed in require
by clbecker (Initiate) on Nov 24, 2013 at 05:01 UTC | |
by BrowserUk (Patriarch) on Nov 24, 2013 at 13:50 UTC | |
by clbecker (Initiate) on Nov 24, 2013 at 23:08 UTC |