Hideaki Ohno > autolocale-0.05 > autolocale

Download:
autolocale-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.05   Source   Latest Release: autolocale-0.07

NAME ^

autolocale - auto call setlocale when set $ENV{"LANG"}

SYNOPSIS ^

  use autolocale;
  
  $ENV{"LANG"} = "C"; # locale is "C"
  {
      local $ENV{"LANG"} = "en_US";# locale is "en_US"
  }
  # locale is "C"
  
  no autolocale; # auto setlocale disabled
  $ENV{"LANG"} = "en_US"; # locale is "C"

DESCRIPTION ^

autolocale is pragma moudle that auto call setlocale when set $ENV{"LANG"}.

AUTHOR ^

Hideaki Ohno <hide.o.j55 {at} gmail.com>

SEE ALSO ^

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: