-
-
15 Mar 2019 21:49:36 UTC
- Distribution: Locale-TextDomain-OO-Util
- Module version: 4.001
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (1193 / 0 / 17)
- Kwalitee
Bus factor: 1- 96.50% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (13.8KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Steffen Winkler <steffenw at cpan.org>
- Dependencies
- Carp
- English
- charnames
- namespace::autoclean
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- NAME Locale::TextDomain::OO::Util::ExtractHeader - Gettext header extractor
- VERSION
- SYNOPSIS
- DESCRIPTION
- SUBROUTINES/METHODS
- EXAMPLE
- DIAGNOSTICS
- CONFIGURATION AND ENVIRONMENT
- DEPENDENCIES
- INCOMPATIBILITIES
- BUGS AND LIMITATIONS
- SEE ALSO
- AUTHOR
- LICENSE AND COPYRIGHT
NAME Locale::TextDomain::OO::Util::ExtractHeader - Gettext header extractor
VERSION
4.001
$Id: ExtractHeader.pm 715 2018-06-04 15:08:31Z steffenw $
$HeadURL: svn+ssh://steffenw@svn.code.sf.net/p/perl-gettext-oo/code/Locale-TextDomain-OO-Util/trunk/lib/Locale/TextDomain/OO/Util/ExtractHeader.pm $
SYNOPSIS
use Locale::TextDomain::OO::Util::ExtractHeader; my $extractor = Locale::TextDomain::OO::Util::ExtractHeader->instance;
DESCRIPTION
This module is extracts charset and plural date from gettext header.
SUBROUTINES/METHODS
method instance
See SYNOPSIS. This method returns a value you can call
extract_header_msgstr
on.method extract_header_msgstr
$hash_ref = $extractor->extract_header_msgstr($header_msgstr);
That hash_ref contains:
nplurals => $count_of_plural_forms, plural => $the_original_formula, plural_code => $code_ref__to_select_the_right_plural_form, charset => $charset, lexicon_class => 'from X-Lexicon-Class',
EXAMPLE
See the *.pl files in the example directory in this distribution.
DIAGNOSTICS
confess
CONFIGURATION AND ENVIRONMENT
none
DEPENDENCIES
INCOMPATIBILITIES
not known
BUGS AND LIMITATIONS
none
SEE ALSO
AUTHOR
Steffen Winkler
LICENSE AND COPYRIGHT
Copyright (c) 2014 - 2018, Steffen Winkler
<steffenw at cpan.org>
. All rights reserved.This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Locale::TextDomain::OO::Util, copy and paste the appropriate command in to your terminal.
cpanm Locale::TextDomain::OO::Util
perl -MCPAN -e shell install Locale::TextDomain::OO::Util
For more information on module installation, please visit the detailed CPAN module installation guide.