in reply to Locale Country not working

That will be because Netherlands Antilles is not a country and has not been one since 2010.

Replies are listed 'Best First'.
Re^2: Locale Country not working
by SBECK (Chaplain) on Aug 22, 2014 at 14:18 UTC

    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'