Subject: | Please support Locales 0.16 |
This package is broken with recent releases of Locales. It only works
with Locales 0.04. The latest release is 0.16 which is included in many
Distributions.
The attached patch fixes this issue.
Subject: | use-locales-0.16.patch |
6c6
< require Locales::Country ;
---
> use Locales;
73c73
< my $en = new Locales::Country( "en" );
---
> my $en = Locales->new( "en" );
75c75
< if ( ! $en->code2country( $countryCode ) ){
---
> if ( ! $en->get_territory_from_code( $countryCode ) ){