Locale::Po4a::Common man page on Gentoo

Man page or keyword search:  
man Server   6889 pages
apropos Keyword Search (all sections)
Output format
Gentoo logo
[printable version]

Locale::Po4a::Common(3User Contributed Perl DocumentatiLocale::Po4a::Common(3)

NAME
       Locale::Po4a::Common - common parts of the po4a scripts and utils

DESCRIPTION
       Locale::Po4a::Common contains common parts of the po4a scripts and some
       useful functions used along the other modules.

       In order to use Locale::Po4a programatically, one may want to disable
       the use of Text::WrapI18N, by writing e.g.

	   use Locale::Po4a::Common qw(nowrapi18n);
	   use Locale::Po4a::Text;

       instead of:

	   use Locale::Po4a::Text;

       Ordering is important here: as most Locale::Po4a modules themselves
       load Locale::Po4a::Common, the first time this module is loaded
       determines whether Text::WrapI18N is used.

FUNCTIONS
   Showing output messages
       ·   show_version($)

	   Shows the current version of the script, and a short copyright
	   message. It takes the name of the script as an argument.

       ·   wrap_msg($@)

	   This function displays a message the same way than sprintf() does,
	   but wraps the result so that they look nice on the terminal.

       ·   wrap_mod($$@)

	   This function works like wrap_msg(), but it takes a module name as
	   the first argument, and leaves a space at the left of the message.

       ·   wrap_ref_mod($$$@)

	   This function works like wrap_msg(), but it takes a file:line
	   reference as the first argument, a module name as the second one,
	   and leaves a space at the left of the message.

   Wrappers for other modules
       ·   Locale::Gettext

	   When the Locale::Gettext module cannot be loaded, this module
	   provide dummy (empty) implementation of the following functions. In
	   that case, po4a messages won't get translated but the program will
	   continue to work.

	   If Locale::gettext is present, this wrapper also calls
	   setlocale(LC_MESSAGES, "") so callers don't depend on the POSIX
	   module either.

	   ·   bindtextdomain($$)

	   ·   textdomain($)

	   ·   gettext($)

	   ·   dgettext($$)

AUTHORS
	Jordi Vilalta <jvprat@gmail.com>

COPYRIGHT AND LICENSE
       Copyright 2005 by SPI, inc.

       This program is free software; you may redistribute it and/or modify it
       under the terms of GPL (see the COPYING file).

perl v5.16.3			  2012-05-17	       Locale::Po4a::Common(3)
[top]

List of man pages available for Gentoo

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net