| 1 | package PerlIO::via::UnicodeDebug; | ||||||||||
| 2 | |||||||||||
| 3 | 3 | ▶ | use 5.008001; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 3 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 3 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 3 | ▶ | use utf8; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 3 | ▶ | use Unicode::Debug 'unidecode'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | BEGIN | ||||||||||
| 11 | 3 | ▶ | { | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | 3 | $PerlIO::via::UnicodeDebug::AUTHORITY = 'cpan:TOBYINK'; | |||||||||
| 13 | 3 | $PerlIO::via::UnicodeDebug::VERSION = '0.002'; | |||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | sub PUSHED | ||||||||||
| 17 | 1 | ▶ | { | ||||||||
|
Subroutine
PUSHED: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 18 | 1 | bless \*PUSHED, $_[0]; | |||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | sub FILL | ||||||||||
| 22 | 0 | ▶ | { | ||||||||
|
Subroutine
FILL: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 23 | 0 | my $line = readline( $_[1] ); | |||||||||
| 24 | 0 | ▶ | (defined $line) ? unidecode( $line ) : undef; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | sub WRITE | ||||||||||
| 28 | 1 | ▶ | { | ||||||||
|
Subroutine
WRITE: called CC=2 SCAR=7.0
| |||||||||||
| 29 | 1 | my $x = $_[1]; | |||||||||
| 30 | 1 | utf8::decode($x); | |||||||||
| 31 | 1 | unidecode($x); | |||||||||
| 32 | 1 | ▶ | ( print {$_[2]} $x ) ? length($_[1]) : -1; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 33 | } | ||||||||||
| 34 | |||||||||||
| 35 | 3 | __PACKAGE__ | |||||||||
| 36 | __END__ | ||||||||||