1HTTP::Headers::ActionPaUcske:r:ACcocnetprtiLbauHntTgeTudPa:gP:eeH(re3la)dDeorcsu:m:eAncttaitoinoPnack::AcceptLanguage(3)
2
3
4

NAME

6       HTTP::Headers::ActionPack::AcceptLanguage - A Priority List customized
7       for Media Types
8

VERSION

10       version 0.09
11

SYNOPSIS

13         use HTTP::Headers::ActionPack::AcceptLanguage;
14
15         # normal constructor
16         my $list = HTTP::Headers::ActionPack::AcceptLanguage->new(
17             [ 1.0 => 'en-US' ],
18             [ 0.7 => 'en-GB' ],
19         );
20
21         # or from a string
22         my $list = HTTP::Headers::ActionPack::AcceptLanguageList->new_from_string(
23             'en-US; q=1.0, en-GB; q=0.7'
24         );
25

DESCRIPTION

27       This is a subclass of the HTTP::Headers::ActionPack::PriorityList class
28       with some language specific features.
29

METHODS

31       "canonicalize_choice"
32           This takes a string containing a locale code and returns the
33           canonical version of that code.
34
35           This is incomplete, as it simply lower cases the language piece
36           ("en", "zh") and upper cases the country ("US", "TW"). It does not
37           attempt to canonicalize scripts or variants in the locale code.
38

AUTHOR

40       Stevan Little <stevan.little@iinteractive.com>
41

CONTRIBUTORS

43       •   Andrew Nelson <anelson@cpan.org>
44
45       •   Dave Rolsky <autarch@urth.org>
46
47       •   Florian Ragwitz <rafl@debian.org>
48
49       •   Jesse Luehrs <doy@tozt.net>
50
51       •   Karen Etheridge <ether@cpan.org>
52
54       This software is copyright (c) 2012 by Infinity Interactive, Inc..
55
56       This is free software; you can redistribute it and/or modify it under
57       the same terms as the Perl 5 programming language system itself.
58
59
60
61perl v5.34.0                      2H0T2T2P-:0:1H-e2a1ders::ActionPack::AcceptLanguage(3)
Impressum