The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

country4.pl - Demonstration of Locales::Country w/ Environment Variables.

SYNOPSIS

./country4.pl

DESCRIPTION

This is a simple demonstration script that shows how the top level Locales::Country module will apply the environment LC_ALL setting if set (LC_ALL, LANG and LANGUAGE are always checked in this order). For example:

  $ENV{LC_ALL} = "fr_FR";                  # reset environment locale.

  require Locales::Country;

  my $fr = new Locales::Country;           # environemnet locale used.
  my $de = new Locales::Country ( "de" );  # overrides default country.

AUTHOR

Daniel Yacob, dyacob@cpan.org

SEE ALSO

Locales::Country