line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::MicroMason; |
2
|
|
|
|
|
|
|
$VERSION = '2.21'; |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
# The #line directive requires Perl 5.6 to work correctly the way we use |
5
|
|
|
|
|
|
|
# it in Base. |
6
|
|
|
|
|
|
|
require 5.006; |
7
|
39
|
|
|
39
|
|
79936
|
use strict; |
|
39
|
|
|
|
|
44
|
|
|
39
|
|
|
|
|
4281
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
require Text::MicroMason::Base; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
###################################################################### |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub import { |
14
|
40
|
|
|
40
|
|
338
|
shift; |
15
|
40
|
100
|
|
|
|
1617
|
return unless ( @_ ); |
16
|
11
|
|
|
|
|
42
|
require Exporter; |
17
|
11
|
|
|
|
|
3595
|
require Text::MicroMason::Functions; |
18
|
11
|
|
|
|
|
28
|
unshift @_, 'Text::MicroMason::Functions'; |
19
|
11
|
|
|
|
|
1503
|
goto &Exporter::import |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
###################################################################### |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub class { |
25
|
1
|
|
|
1
|
0
|
398
|
shift; |
26
|
1
|
|
|
|
|
6
|
Text::MicroMason::Base->class( @_, 'HTMLMason' ); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub new { |
30
|
130
|
|
|
130
|
0
|
28429
|
shift; |
31
|
130
|
|
|
|
|
449
|
Text::MicroMason::Base->new( @_, '-HTMLMason' ) |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
###################################################################### |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
__END__ |