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)