line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::Minify::XS; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: Remove indentation and trailing whitespace from multi-line text |
4
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
3166
|
use v5.9.3; |
|
4
|
|
|
|
|
12
|
|
6
|
4
|
|
|
4
|
|
21
|
use strict; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
78
|
|
7
|
4
|
|
|
4
|
|
18
|
use warnings; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
143
|
|
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
21
|
use Exporter 5.57 qw( import ); |
|
4
|
|
|
|
|
56
|
|
|
4
|
|
|
|
|
131
|
|
10
|
4
|
|
|
4
|
|
23
|
use XSLoader; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
328
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our @EXPORT_OK = qw(minify minify_utf8 minify_ascii); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our $VERSION = 'v0.6.5'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
XSLoader::load( __PACKAGE__, $VERSION ); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
{ |
19
|
4
|
|
|
4
|
|
21
|
no strict 'refs'; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
246
|
|
20
|
|
|
|
|
|
|
*minify_utf8 = \&minify; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |