Log::Funlog::Lang - Language pack for Log::Funlog
use Log::Funlog::Lang; my @res=Log::Funlog::Lang->new( language ); my @texts=@{ $res[1] }; my $language_given=$res[0];
This is a perl module used by Log::Funlog to obtain a list of funny things in the language of the user.
Log::Funlog::Lang try to determinate the language of the user by parsing LC_MESSAGES and LANG. If it doesn't find any infos in these environment variable, it use 'en'
If it occurs, you must specify the language by the widely used two letters (fr, en, ...)
Two-letters code specifying language to use.
Available languages are: fr, en
Default to 'en'.
Gabriel Guillon, from Chashew team
korsani-spam@free-spam.fr-spam
(remove you-know-what :)
As Perl itself.
Let me know if you have added some features, or removed some bugs ;)
To install Log::Funlog::Lang, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Funlog::Lang
CPAN shell
perl -MCPAN -e shell install Log::Funlog::Lang
For more information on module installation, please visit the detailed CPAN module installation guide.