blib/lib/Lingua/POL/Numbers.pm

filter: Statementstmt 51.1% 111 / 217 Branchbran 34.7% 32 / 92 Conditioncond 18.5% 10 / 54 MC/DCmcdc 6.9% 2 / 29 Subroutinesub 83.3% 20 / 24 Podpod 100% 15 / 15 totaltotal 44.0% 190 / 431 SCAR 68.1
CC
66
Cov
42%
SLOWNIE
128.7
KTys
90.0
KMil
90.0
CRAP 909.4
↑ Summary
1 # For Emacs: -*- mode:cperl; mode:folding; coding:utf-8 -*-
2  
3 package Lingua::POL::Numbers;
4 # ABSTRACT: Number 2 word conversion in POL.
5  
6 # {{{ use block
7  
8 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use 5.10.1;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use vars qw($Idziesiatka);
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use Perl6::Export::Attrs;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 1 ▶no if $] >= 5.018, 'warnings', "experimental::smartmatch";
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 # }}}
20 # {{{ variables declarations
21  
22 1 our $VERSION = 0.135;
23  
24 # }}}
25 # {{{ new
26  
27 sub new
28 {
29 1 ▶ my $class = shift;
Subroutine new: called CC=3 SCAR=11.4
Pod documented
30 1 ▶ my $number = shift || '';
Condition50%1/2
shift() || ''
l!l
01
MC/DC0%0/1
shift() || ''
shift()
Truth table50%1/2
A
A= shift()
Aresult
11
00
31 1 $Idziesiatka=0;
32  
33 1 my $self = {};
34 1 bless $self, $class;
35  
36 1 ▶ if( $number =~ /\d+/ ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($number =~ /\d+/) 0 1 1
37 0 return( $self->parse($number) );
38 };
39  
40 1 return( $self );
41 };
42  
43 # }}}
44 # {{{ parse
45  
46 sub parse :Export
47 {
48 3 ▶ my $self = shift;
Subroutine parse: called CC=1 SCAR=0.0
Pod documented
49 3 my $number = shift;
50 3 return( SLOWNIE($number,0) );
51 1 ▶};
Subroutine BEGIN: called CC=1 SCAR=0.0
52  
53 # }}}
54 # {{{ currency
55  
56 sub currency
57 {
58 0 ▶ my $self = shift;
Subroutine currency: not called CC=1 SCAR=6.9
Pod documented
59 0 my $number = shift;
60 0 return( SLOWNIE($number,1) );
61 };
62  
63 # }}}
64 # {{{ SLOWNIE
65  
66 sub SLOWNIE {
67 3 ▶ my $Numer = shift // 0;
Subroutine SLOWNIE: called CC=28 SCAR=48.6
Pod documented
Condition100%2/2
shift() // 0
l!l
21
MC/DC100%1/1
shift() // 0
shift()
Truth table100%2/2
A
A= shift()
Aresult
11
00
68 3 my $currency = shift;
69  
70 3 my ($temps, $tempd, $tempj, $zlote, $grosze, $Licznik, $grd, $grj, $MiejsceDz, $T_S, $SLOWNIE);
71  
72 3 ▶ if ($Numer == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if ($Numer == 0) { } 1 2 3
73 1 ▶ if ($currency) {
Branch: 1 branch
BranchTrueFalseTotal
if ($currency) { } 0 1 1
74 0 $SLOWNIE = "zero zl zero gr";
75 } else {
76 1 $SLOWNIE = "zero";
77 }
78 } else {
79 2 ▶ if ($Numer > 9999999999999.99 || $Numer < 0) {
Branch: 1 branch
BranchTrueFalseTotal
if ($Numer > 9999999999999.99 or $Numer < 0) { } 1 1 2
Condition66%2/3
$Numer > "9999999999999.99" or $Numer < 0
l!l&&r!l&&!r
101
MC/DC50%1/2
$Numer > "9999999999999.99" or $Numer < 0
$Numer > "9999999999999.99" $Numer < 0
Truth table66%2/3
A or B
A= $Numer > "9999999999999.99"B= $Numer < 0
ABresult
1X1
011
000
80 #carp "out of range in $Numer";
81 1 $SLOWNIE = "out of range";
82 } else {
83 1 $Numer = Trim($Numer);
84 1 $MiejsceDz = InStr($Numer);
85 1 ▶ if ($MiejsceDz > 0 && Right($Numer,2) ne "00") {
Branch: 2 branches
BranchTrueFalseTotal
if ($MiejsceDz > 0 and Right($Numer, 2) ne '00') { } 0 1 1
elsif ($currency) { } 0 1 1
Condition33%1/3
$MiejsceDz > 0 and Right($Numer, 2) ne "00"
!ll&&!rl&&r
100
MC/DC0%0/2
$MiejsceDz > 0 and Right($Numer, 2) ne "00"
$MiejsceDz > 0 Right($Numer, 2) ne "00"
Truth table33%1/3
A and B
A= $MiejsceDz > 0B= Right($Numer, 2) ne "00"
ABresult
0X0
100
111
86 0 ▶ if ($currency) {
Branch: 1 branch
BranchTrueFalseTotal
if ($currency) { } 0 0 0
87 0 $grosze = Left(Mid($Numer, $MiejsceDz + 1)."00", 2);
88 0 $grd = Dziesiatki(Right($grosze, 2));
89 0 ▶ if ($Idziesiatka!=1) {
Branch: 1 branch
BranchTrueFalseTotal
if ($Lingua::POL::Numbers::Idziesiatka != 1) 0 0 0
90 0 $grj = Jednostki(Right($grosze, 1));
91 }
92 0 $grosze = " ".$grd.$grj."gr";
93 0 $Numer = Trim(Left($Numer, $MiejsceDz - 1));
94 } else {
95 0 carp "no decimals allowed in parse mode in $Numer";
96 0 $zlote = "no decimals allowed in parse mode in $Numer";
97 }
98 } elsif ($currency) {
99 0 $grosze = " zero gr";
100 }
101 1 ▶ if ($Numer>0 && ($currency || !$MiejsceDz)) {
Branch: 2 branches
BranchTrueFalseTotal
if ($Numer > 0 and $currency || !$MiejsceDz) { } 1 0 1
elsif ($currency or not $MiejsceDz) { } 0 0 0
Condition33%2/6
$Numer > 0 and $currency || !$MiejsceDz
!ll&&!rl&&r
001
$currency or not $MiejsceDz
l!l&&r!l&&!r
010
MC/DC0%0/3
$Numer > 0 and $currency || !$MiejsceDz
$Numer > 0 $currency not $MiejsceDz
Truth table25%1/4
A and B or not(C)
A= $Numer > 0B= $currencyC= not $MiejsceDz
ABCresult
0XX0
1000
11X1
1011
102 1 $Licznik = 1;
103 1 ▶ while ($Numer ne "") {
Branch: 1 branch
BranchTrueFalseTotal
if ($Numer ne "") 1 1 2
104 1 $temps = "";
105 1 $tempd = "";
106 1 $tempj = "";
107 1 $temps = Setki(Right("000".$Numer, 3));
108 1 $tempd = Dziesiatki(Right("00".$Numer, 2));
109 1 ▶ if ($Idziesiatka!=1) {
Branch: 1 branch
BranchTrueFalseTotal
if ($Lingua::POL::Numbers::Idziesiatka != 1) 1 0 1
110 1 $tempj = Jednostki(Right($Numer, 1));
111 }
112 1 ▶ if ($Licznik==1) {
Branch: 3 branches
BranchTrueFalseTotal
if ($Licznik == 1) { } 1 0 1
elsif ($Licznik == 2) { } 0 0 0
elsif ($Licznik == 3 or $Licznik == 4 or $Licznik == 5) { } 0 0 0
113 1 $T_S = $temps.$tempd.$tempj;
114 } elsif ($Licznik==2) {
115 0 $T_S = $temps.$tempd.$tempj.KTys($Numer);
116 ▶ } elsif ($Licznik==3||$Licznik==4||$Licznik==5) {
Condition0%0/6
$Licznik == 3 or $Licznik == 4 or $Licznik == 5
l!l&&r!l&&!r
000
$Licznik == 3 or $Licznik == 4
l!l&&r!l&&!r
000
MC/DC0%0/3
$Licznik == 3 or $Licznik == 4 or $Licznik == 5
$Licznik == 3 $Licznik == 4 $Licznik == 5
Truth table0%0/4
A or B or C
A= $Licznik == 3B= $Licznik == 4C= $Licznik == 5
ABCresult
1XX1
01X1
0011
0000
117 0 $T_S = $temps.$tempd.$tempj.KMil($Numer, $Licznik);
118 }
119 1 ▶ $zlote = $T_S.($zlote // '');
Condition50%1/2
$zlote // ""
l!l
01
MC/DC0%0/1
$zlote // ""
$zlote
Truth table50%1/2
A
A= $zlote
Aresult
11
00
120  
121 1 ▶ if (length($Numer) > 3) {
Branch: 1 branch
BranchTrueFalseTotal
if (length $Numer > 3) { } 0 1 1
122 0 $Numer = Left($Numer, length($Numer) - 3);
123 0 $Licznik++;
124 } else {
125 1 $Numer = "";
126 }
127 }
128 ▶ } elsif ($currency || !$MiejsceDz) {
Condition0%0/3
$currency or not $MiejsceDz
l!l&&r!l&&!r
000
MC/DC0%0/2
$currency or not $MiejsceDz
$currency not $MiejsceDz
Truth table0%0/3
A or not(B)
A= $currencyB= not $MiejsceDz
ABresult
1X1
011
000
129 0 $zlote = "zero "
130 }
131 1 ▶ if ($Numer !~ /^\d+$/ or $Numer > -1) {
Branch: 1 branch
BranchTrueFalseTotal
if (not $Numer =~ /^\d+$/ or $Numer > -1) 1 0 1
Condition33%1/3
not $Numer =~ /^\d+$/ or $Numer > -1
l!l&&r!l&&!r
100
MC/DC0%0/2
not $Numer =~ /^\d+$/ or $Numer > -1
not $Numer =~ /^\d+$/ $Numer > -1
Truth table33%1/3
not(A) or B
A= not $Numer =~ /^\d+$/B= $Numer > -1
ABresult
1X1
011
000
132 1 ▶ if ($currency) {
Branch: 1 branch
BranchTrueFalseTotal
if ($currency) { } 0 1 1
133 0 $SLOWNIE = $zlote."zl".$grosze;
134 } else {
135 1 $SLOWNIE = $zlote;
136 }
137 }
138 }
139 }
140 3 return $SLOWNIE;
141 }
142  
143 # }}}
144 # {{{ KTys
145  
146 sub KTys {
147 0 ▶ my $Numer = shift;
Subroutine KTys: not called CC=9 SCAR=45.0
Pod documented
148 0 my $KTys;
149 0 my $tys=Val(Right("000".$Numer, 3));
150  
151 0 ▶ if ($tys == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if ($tys == 0) { } 0 0 0
152 0 $KTys = "";
153 }
154 else {
155 0 $tys = Val(Right($Numer, 2));
156 0 ▶ if ($tys == 1) {
Branch: 1 branch
BranchTrueFalseTotal
if ($tys == 1) { } 0 0 0
157 0 $KTys = "ąc ";
158 }
159 else {
160 0 ▶ if ($tys == 12 || $tys == 13 || $tys == 14) {
Branch: 1 branch
BranchTrueFalseTotal
if ($tys == 12 or $tys == 13 or $tys == 14) { } 0 0 0
Condition0%0/6
$tys == 12 or $tys == 13 or $tys == 14
l!l&&r!l&&!r
000
$tys == 12 or $tys == 13
l!l&&r!l&&!r
000
MC/DC0%0/3
$tys == 12 or $tys == 13 or $tys == 14
$tys == 12 $tys == 13 $tys == 14
Truth table0%0/4
A or B or C
A= $tys == 12B= $tys == 13C= $tys == 14
ABCresult
1XX1
01X1
0011
0000
161 0 $KTys = "ęcy ";
162 }
163 else {
164 0 $tys = Val(Right($Numer, 1));
165 }
166 0 ▶ if ( $tys == 2 || $tys == 3 || $tys == 4) {
Branch: 1 branch
BranchTrueFalseTotal
if ($tys == 2 or $tys == 3 or $tys == 4) { } 0 0 0
Condition0%0/6
$tys == 2 or $tys == 3 or $tys == 4
l!l&&r!l&&!r
000
$tys == 2 or $tys == 3
l!l&&r!l&&!r
000
MC/DC0%0/3
$tys == 2 or $tys == 3 or $tys == 4
$tys == 2 $tys == 3 $tys == 4
Truth table0%0/4
A or B or C
A= $tys == 2B= $tys == 3C= $tys == 4
ABCresult
1XX1
01X1
0011
0000
167 0 $KTys = "ące ";
168 }
169 else {
170 0 $KTys = "ęcy ";
171 }
172 }
173 0 $KTys = "tysi".$KTys;
174 }
175  
176 0 return $KTys;
177 }
178  
179 # }}}
180 # {{{ KMil
181  
182 sub KMil {
183 0 ▶ my ($Numer, $L)=@_;
Subroutine KMil: not called CC=9 SCAR=45.0
Pod documented
184 0 my ($KMil,$mil);
185 0 my @RzadW;
186 0 $RzadW[3] = "milion";
187 0 $RzadW[4] = "miliard";
188 0 $RzadW[5] = "bilion";
189 0 $mil = Val(Right("000".$Numer, 3));
190 0 ▶ if ($mil == 0) {
Branch: 1 branch
BranchTrueFalseTotal
if ($mil == 0) { } 0 0 0
191 0 $KMil = "";
192 } else {
193 0 $mil = Val(Right($Numer, 2));
194 0 ▶ if ($mil == 1) {
Branch: 1 branch
BranchTrueFalseTotal
if ($mil == 1) { } 0 0 0
195 0 $KMil = " ";
196 } else {
197 0 ▶ if ($mil == 12 || $mil == 13 || $mil == 14) {
Branch: 1 branch
BranchTrueFalseTotal
if ($mil == 12 or $mil == 13 or $mil == 14) { } 0 0 0
Condition0%0/6
$mil == 12 or $mil == 13 or $mil == 14
l!l&&r!l&&!r
000
$mil == 12 or $mil == 13
l!l&&r!l&&!r
000
MC/DC0%0/3
$mil == 12 or $mil == 13 or $mil == 14
$mil == 12 $mil == 13 $mil == 14
Truth table0%0/4
A or B or C
A= $mil == 12B= $mil == 13C= $mil == 14
ABCresult
1XX1
01X1
0011
0000
198 0 $KMil = "ów ";
199 } else {
200 0 $mil = Val(Right($Numer, 1));
201 0 ▶ if ($mil == 2 || $mil == 3 || $mil == 4) {
Branch: 1 branch
BranchTrueFalseTotal
if ($mil == 2 or $mil == 3 or $mil == 4) { } 0 0 0
Condition0%0/6
$mil == 2 or $mil == 3 or $mil == 4
l!l&&r!l&&!r
000
$mil == 2 or $mil == 3
l!l&&r!l&&!r
000
MC/DC0%0/3
$mil == 2 or $mil == 3 or $mil == 4
$mil == 2 $mil == 3 $mil == 4
Truth table0%0/4
A or B or C
A= $mil == 2B= $mil == 3C= $mil == 4
ABCresult
1XX1
01X1
0011
0000
202 0 $KMil = "y ";
203 } else {
204 0 $KMil = "ów ";
205 }
206 }
207 }
208 0 $KMil = $RzadW[$L].$KMil;
209 }
210 0 return $KMil;
211 }
212  
213 # }}}
214 # {{{ Setki
215  
216 sub Setki {
217 1 ▶ my $Numer=shift;
Subroutine Setki: called CC=10 SCAR=34.7
Pod documented
218 1 my ($setka, $wynik);
219 1 $setka = Val(Left($Numer, 1));
220 1 ▶ if ($setka == 1) {
Branch: 9 branches
BranchTrueFalseTotal
if ($setka == 1) { } 0 1 1
elsif ($setka == 2) { } 0 1 1
elsif ($setka == 3) { } 0 1 1
elsif ($setka == 4) { } 0 1 1
elsif ($setka == 5) { } 0 1 1
elsif ($setka == 6) { } 0 1 1
elsif ($setka == 7) { } 1 0 1
elsif ($setka == 8) { } 0 0 0
elsif ($setka == 9) { } 0 0 0
221 0 $wynik= "sto ";
222 } elsif ($setka == 2) {
223 0 $wynik = 'dwieście ';
224 } elsif ($setka == 3) {
225 0 $wynik = 'trzysta ';
226 } elsif ($setka == 4) {
227 0 $wynik = 'czterysta ';
228 } elsif ($setka == 5) {
229 0 $wynik = 'pięćset ';
230 } elsif ($setka == 6) {
231 0 $wynik = 'sześćset ';
232 } elsif ($setka == 7) {
233 1 $wynik = 'siedemset ';
234 } elsif ($setka == 8) {
235 0 $wynik = 'osiemset ';
236 } elsif ($setka == 9) {
237 0 $wynik = 'dziewięćset ';
238 } else {
239 0 $wynik = '';
240 }
241  
242 1 return $wynik;
243 }
244  
245 # }}}
246 # {{{ Dziesiatki
247  
248 sub Dziesiatki {
249 1 ▶ my $Number = shift;
Subroutine Dziesiatki: called CC=2 SCAR=11.6
Pod documented
250 1 my $wynik = '';
251  
252 1 $Idziesiatka = Val(Left($Number, 1));
253 1 ▶ if ($Idziesiatka == 1) {
Branch: 1 branch
BranchTrueFalseTotal
if ($Lingua::POL::Numbers::Idziesiatka == 1) { } 0 1 1
254 0 given(Val($Number)) {
255 0 when (10) { $wynik = 'dziesięćdz '; }
256 0 when (11) { $wynik = 'jedenaście '; }
257 0 when (12) { $wynik = 'dwanaście '; }
258 0 when (13) { $wynik = 'trzynaście '; }
259 0 when (14) { $wynik = 'czternaście '; }
260 0 when (15) { $wynik = 'pietnaście '; }
261 0 when (16) { $wynik = 'szesnaście '; }
262 0 when (17) { $wynik = 'siedemnaście '; }
263 0 when (18) { $wynik = 'osiemnaście '; }
264 0 when (19) { $wynik = 'dziewiętnaście '; }
265 }
266 }
267 else {
268 1 given ($Idziesiatka) {
269 1 when (2) { $wynik = 'dwadzieścia '; }
270 1 when (3) { $wynik = 'trzydzieści '; }
271 1 when (4) { $wynik = 'czterdzieści '; }
272 1 when (5) { $wynik = 'piędzieśąt '; }
273 1 when (6) { $wynik = 'sześdzieśąt '; }
274 1 when (7) { $wynik = 'siedemdzieśąt '; }
275 1 when (8) { $wynik = 'osiemdzieśąt '; }
276 1 when (9) { $wynik = 'dziewiędzieśąt '; }
277 }
278 }
279  
280 1 return $wynik;
281 }
282  
283 # }}}
284 # {{{ Jednostki
285  
286 sub Jednostki {
287 1 ▶ my $Numer=shift;
Subroutine Jednostki: called CC=10 SCAR=34.3
Pod documented
288 1 my ($jedst, $wynik);
289 1 $jedst = Val(Right($Numer, 1));
290 1 ▶ if ($jedst == 1) {
Branch: 9 branches
BranchTrueFalseTotal
if ($jedst == 1) { } 0 1 1
elsif ($jedst == 2) { } 0 1 1
elsif ($jedst == 3) { } 0 1 1
elsif ($jedst == 4) { } 0 1 1
elsif ($jedst == 5) { } 0 1 1
elsif ($jedst == 6) { } 0 1 1
elsif ($jedst == 7) { } 1 0 1
elsif ($jedst == 8) { } 0 0 0
elsif ($jedst == 9) { } 0 0 0
291 0 $wynik = "jeden ";
292 } elsif ($jedst == 2) {
293 0 $wynik = "dwa ";
294 } elsif ($jedst == 3) {
295 0 $wynik = "trzy ";
296 } elsif ($jedst == 4) {
297 0 $wynik = "cztery ";
298 } elsif ($jedst == 5) {
299 0 $wynik = "pięć ";
300 } elsif ($jedst == 6) {
301 0 $wynik = "sześć ";
302 } elsif ($jedst == 7) {
303 1 $wynik = "siedem ";
304 } elsif ($jedst == 8) {
305 0 $wynik = "osiem ";
306 } elsif ($jedst == 9) {
307 0 $wynik = "dziewięć ";
308 }
309 1 return $wynik;
310 }
311  
312 # }}}
313 # {{{ Left
314  
315 sub Left {
316 2 ▶ my ($Numer, $count) = @_;
Subroutine Left: called CC=1 SCAR=0.0
Pod documented
317 2 $Numer = substr($Numer,0,$count);
318  
319 2 return $Numer;
320 }
321  
322 # }}}
323 # {{{ Right
324  
325 sub Right {
326 4 ▶ my ($Numer, $count) = @_;
Subroutine Right: called CC=1 SCAR=0.0
Pod documented
327 4 $Numer = substr($Numer,-$count);
328  
329 4 return $Numer;
330 }
331  
332 # }}}
333 # {{{ Trim
334  
335 sub Trim {
336 1 ▶ my $Numer = shift;
Subroutine Trim: called CC=1 SCAR=0.0
Pod documented
337 1 $Numer=~s/^\s+//;
338 1 $Numer=~s/\s+$//;
339  
340 1 return $Numer;
341 }
342  
343 # }}}
344 # {{{ Val
345  
346 sub Val {
347 3 ▶ my $Numer = shift;
Subroutine Val: called CC=1 SCAR=0.0
Pod documented
348  
349 3 $Numer=~s/\D//g;
350  
351 3 return $Numer;
352 }
353  
354 # }}}
355 # {{{ Mid
356  
357 sub Mid {
358 0 ▶ my ($Numer, $count) = @_;
Subroutine Mid: not called CC=1 SCAR=6.9
Pod documented
359  
360 0 return ($Numer = substr($Numer,$count-1));
361 }
362  
363 # }}}
364 # {{{ InStr
365  
366 sub InStr {
367 1 ▶ my $Numer = shift;
Subroutine InStr: called CC=2 SCAR=7.4
Pod documented
368 1 my $ret=0;
369 1 ▶ if ($Numer=~/^(\d+)\./) {
Branch: 1 branch
BranchTrueFalseTotal
if ($Numer =~ /^(\d+)\./) 0 1 1
370 0 $ret=length($1)+1;
371 }
372  
373 1 return $ret;
374 }
375  
376 # }}}
377  
378 1 1;
379  
380 # {{{ POD
381  
382 =pod
383  
384 =encoding utf-8
385  
386 =head1 NAME
387  
388 Lingua::POL::Numbers - Perl module for converting numeric values into their Polish equivalents
389  
390 =head1 VERSION
391  
392 version 0.135
393  
394 =head1 DESCRIPTION
395  
396 Number 2 word conversion in POL.
397  
398 This is PetaMem release in iso-639-3 namespace.
399  
400 =head1 SYNOPSIS
401  
402 use Lingua::POL::Numbers;
403  
404 my $numbers = Lingua::POL::Numbers->new;
405  
406  
407 my $text = $numbers->parse( 123 );
408  
409 # prints 'sto dwadzieścia trzy'
410 print $text;
411  
412  
413 my $currency = $numbers->currency ( 123.45 );
414  
415 # prints 'sto dwadzieścia trzy zl czterdzieści pięć gr'
416 print $currency;
417  
418 =head1 FUNCTIONS
419  
420 =over
421  
422 =item new
423  
424 Constructor
425  
426 =item parse
427  
428 Converts number into Polish
429  
430 =item Dziesiatki
431  
432 private
433  
434 =item InStr
435  
436 private
437  
438 =item Jednostki
439  
440 private
441  
442 =item KMil
443  
444 private
445  
446 =item KTys
447  
448 private
449  
450 =item Left
451  
452 private
453  
454 =item Mid
455  
456 private
457  
458 =item Right
459  
460 private
461  
462 =item SLOWNIE
463  
464 private
465  
466 =item Setki
467  
468 private
469  
470 =item Trim
471  
472 private
473  
474 =item Val
475  
476 private
477  
478 =item currency
479  
480 private
481  
482 =back
483  
484 =head1 KNOWN BUGS
485  
486 None, but that does not mean there are not any.
487  
488 =head1 AUTHOR
489  
490 Henrik Steffen, <cpan@topconcepts.de>
491  
492 Maintenance
493 PetaMem s.r.o., <info@petamem.com>
494  
495 =head1 LICENSE
496  
497 Original license is not known.
498 PetaMem added Perl 5 licesne as default.
499  
500 =cut
501  
502 # }}}
↑ Summary