blib/lib/Lingua/FA/Number.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 96.5% 28 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 ##################################################
2 # Lingua::FA::Number
3 #
4 # Ahmad Anvari, 2003
5 ##################################################
6  
7 package Lingua::FA::Number;
8  
9 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use AutoLoader qw(AUTOLOAD);
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 our @ISA = qw(Exporter);
15  
16 1 our %EXPORT_TAGS = ( 'all' => [ qw(
17
18 ) ] );
19  
20 1 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
21  
22 1 our @EXPORT = qw(
23
24 );
25  
26 1 our $VERSION = '1.00';
27  
28 # Preloaded methods go here.
29  
30  
31 1 ▶sub convert {
Subroutine convert: called CC=1 SCAR=0.0
Pod undocumented
32 1 $_ = shift;
33 1 s/(\d)/"&#".(1728+ord($1)).";"/eg; # farsiaze digits
34 1 return $_;
35 }
36  
37 # Autoload methods go after =cut, and are processed by the autosplit program.
38  
39 1 1;
40 __END__
↑ Summary