1Locale::TextDomain::OO:U:sUetrilC:o:nEtxrtiLrboaucctatelHdee:aP:deTererlx(t3DD)oocmuamienn:t:aOtOi:o:nUtil::ExtractHeader(3)
2
3
4

NAME Locale::TextDomain::OO::Util::ExtractHeader - Gettext header extractor

VERSION

7       4.001
8
9       $Id: ExtractHeader.pm 715 2018-06-04 15:08:31Z steffenw $
10
11       $HeadURL:
12       svn+ssh://steffenw@svn.code.sf.net/p/perl-gettext-oo/code/Locale-TextDomain-OO-Util/trunk/lib/Locale/TextDomain/OO/Util/ExtractHeader.pm
13       $
14

SYNOPSIS

16           use Locale::TextDomain::OO::Util::ExtractHeader;
17
18           my $extractor = Locale::TextDomain::OO::Util::ExtractHeader->instance;
19

DESCRIPTION

21       This module is extracts charset and plural date from gettext header.
22

SUBROUTINES/METHODS

24   method instance
25       See SYNOPSIS. This method returns a value you can call
26       "extract_header_msgstr" on.
27
28   method extract_header_msgstr
29           $hash_ref = $extractor->extract_header_msgstr($header_msgstr);
30
31       That hash_ref contains:
32
33           nplurals      => $count_of_plural_forms,
34           plural        => $the_original_formula,
35           plural_code   => $code_ref__to_select_the_right_plural_form,
36           charset       => $charset,
37           lexicon_class => 'from X-Lexicon-Class',
38

EXAMPLE

40       See the *.pl files in the example directory in this distribution.
41

DIAGNOSTICS

43       confess
44

CONFIGURATION AND ENVIRONMENT

46       none
47

DEPENDENCIES

49       Carp
50
51       English
52
53       namespace::autoclean
54

INCOMPATIBILITIES

56       not known
57

BUGS AND LIMITATIONS

59       none
60

SEE ALSO

62       Locale::TextDomain::OO
63

AUTHOR

65       Steffen Winkler
66
68       Copyright (c) 2014 - 2018, Steffen Winkler "<steffenw at cpan.org>".
69       All rights reserved.
70
71       This module is free software; you can redistribute it and/or modify it
72       under the same terms as Perl itself.
73
74
75
76perl v5.30.0                    Lo2c0a1l9e-:0:7T-e2x6tDomain::OO::Util::ExtractHeader(3)
Impressum