blib/lib/Unicode/Semantics.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 5 | 5 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 7 | 8 | 87.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Unicode::Semantics; | ||||||
2 | 4 | 4 | 121810 | use base 'Exporter'; | |||
4 | 11 | ||||||
4 | 712 | ||||||
3 | $VERSION = "1.02"; | ||||||
4 | @EXPORT = qw(us up); | ||||||
5 | |||||||
6 | sub us ($) { | ||||||
7 | 2305 | 2305 | 0 | 35107 | utf8::upgrade($_[0]); | ||
8 | 2305 | 2760 | return $_[0]; | ||||
9 | } | ||||||
10 | |||||||
11 | *up = \&us; | ||||||
12 | |||||||
13 | 1; | ||||||
14 | |||||||
15 | __END__ |