in reply to Re: Locale Country not working
in thread Locale Country not working

That is correct. The code was retired a number of versions ago.

If you really need to use codes that have been retired, the following will work (and is documented in the Locale::Codes::API document):

   code2country('an', 'alpha-2', 'retired');
   => 'Netherlands Antilles'