1Locale::TextDomain::OO:U:sFeurncCtoinotnraiLlboIucntateleder:fP:aeTcreelx(t3DD)oocmuamienn:t:aOtOi:o:nFunctionalInterface(3)
2
3
4
6 Locale::TextDomain::OO::FunctionalInterface - Call object methods as
7 functions
8
9 $Id: FunctionalInterface.pm 546 2014-10-31 09:35:19Z steffenw $
10
11 $HeadURL:
12 svn+ssh://steffenw@svn.code.sf.net/p/perl-gettext-oo/code/module/trunk/lib/Locale/TextDomain/OO/FunctionalInterface.pm
13 $
14
16 1.000
17
19 This module wraps the object and allows to call a method as a function.
20
22 import all
23
24 use Locale::TextDomain::OO;
25 use Locale::TextDomain::OO::FunctionalInterface $loc_ref;
26 ${loc_ref} = Locale::TextDomain::OO->new(
27 ...
28 );
29 use Locale::TextDomain::OO::FunctionalInterface;
30
31 or import only the given functions, as example all
32
33 use Locale::TextDomain::OO;
34 use Locale::TextDomain::OO::TiedInterface $loc_ref, qw(
35 loc_begin_d
36 loc_begin_c
37 loc_begin_dc
38 loc_end_d
39 loc_end_c
40 loc_end_dc
41 loc_
42 loc_x
43 loc_n
44 loc_nx
45 loc_p
46 loc_px
47 loc_np
48 loc_npx
49 loc_d
50 loc_dx
51 loc_dn
52 loc_dnx
53 loc_dp
54 loc_dpx
55 loc_dnp
56 loc_dnpx
57 loc_c
58 loc_cx
59 loc_cn
60 loc_cnx
61 loc_cp
62 loc_cpx
63 loc_cnp
64 loc_cnpx
65 loc_dc
66 loc_dcx
67 loc_dcn
68 loc_dcnx
69 loc_dcp
70 loc_dcpx
71 loc_dcnp
72 loc_dcnpx
73
74 Nloc_
75 Nloc_x
76 Nloc_n
77 Nloc_nx
78 Nloc_p
79 Nloc_px
80 Nloc_np
81 Nloc_npx
82 Nloc_d
83 Nloc_dx
84 Nloc_dn
85 Nloc_dnx
86 Nloc_dp
87 Nloc_dpx
88 Nloc_dnp
89 Nloc_dnpx
90 Nloc_c
91 Nloc_cx
92 Nloc_cn
93 Nloc_cnx
94 Nloc_cp
95 Nloc_cpx
96 Nloc_cnp
97 Nloc_cnpx
98 Nloc_dc
99 Nloc_dcx
100 Nloc_dcn
101 Nloc_dcnx
102 Nloc_dcp
103 Nloc_dcpx
104 Nloc_dcnp
105 Nloc_dcnpx
106
107 __begin_d
108 __begin_c
109 __begin_dc
110 __end_d
111 __end_c
112 __end_dc
113 __
114 __x
115 __n
116 __nx
117 __p
118 __px
119 __np
120 __npx
121 __d
122 __dx
123 __dn
124 __dnx
125 __dp
126 __dpx
127 __dnp
128 __dnpx
129 __c
130 __cx
131 __cn
132 __cnx
133 __cp
134 __cpx
135 __cnp
136 __cnpx
137 __dc
138 __dcx
139 __dcn
140 __dcnx
141 __dcp
142 __dcpx
143 __dcnp
144 __dcnpx
145
146 N__
147 N__x
148 N__n
149 N__nx
150 N__p
151 N__px
152 N__np
153 N__npx
154 N__d
155 N__dx
156 N__dn
157 N__dnx
158 N__dp
159 N__dpx
160 N__dnp
161 N__dnpx
162 N__c
163 N__cx
164 N__cn
165 N__cnx
166 N__cp
167 N__cpx
168 N__cnp
169 N__cnpx
170 N__dc
171 N__dcx
172 N__dcn
173 N__dcnx
174 N__dcp
175 N__dcpx
176 N__dcnp
177 N__dcnpx
178
179 locn
180 Nlocn
181
182 maketext
183 maketext_p
184 maketext_d
185 maketext_dp
186 maketext_c
187 maketext_cp
188 maketext_dc
189 maketext_dcp
190
191 Nmaketext
192 Nmaketext_p
193 Nmaketext_d
194 Nmaketext_dp
195 Nmaketext_c
196 Nmaketext_cp
197 Nmaketext_dc
198 Nmaketext_dcp
199
200 loc
201 loc_m
202 loc_mp
203
204 localise
205 localise_m
206 localise_mp
207
208 localize
209 localize_m
210 localize_mp
211
212 Nloc
213 Nloc_m
214 Nloc_mp
215 );
216 ${loc_ref} = Locale::TextDomain::OO->new(
217 ...
218 );
219
221 see SYNOPSIS
222
224 Inside of this distribution is a directory named example. Run this
225 *.pl files.
226
228 confess
229
231 none
232
234 Carp
235
237 not known
238
240 none
241
243 Locale::TextDoamin::OO
244
246 Steffen Winkler
247
249 Copyright (c) 2009 - 2014, Steffen Winkler "<steffenw at cpan.org>".
250 All rights reserved.
251
252 This module is free software; you can redistribute it and/or modify it
253 under the same terms as Perl itself.
254
255
256
257perl v5.32.0 Lo2c0a2l0e-:0:7T-e2x8tDomain::OO::FunctionalInterface(3)