| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Template::Stash::AutoEscaping::RawString; |
|
2
|
4
|
|
|
4
|
|
22
|
use strict; |
|
|
4
|
|
|
|
|
7
|
|
|
|
4
|
|
|
|
|
148
|
|
|
3
|
4
|
|
|
4
|
|
20
|
use warnings; |
|
|
4
|
|
|
|
|
8
|
|
|
|
4
|
|
|
|
|
167
|
|
|
4
|
4
|
|
|
4
|
|
20
|
use overload '""' => \&as_string; |
|
|
4
|
|
|
|
|
8
|
|
|
|
4
|
|
|
|
|
46
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub new { |
|
7
|
8
|
|
|
8
|
1
|
22
|
my ( $klass, $str ) = @_; |
|
8
|
8
|
|
|
|
|
62
|
bless \$str, $klass; |
|
9
|
|
|
|
|
|
|
} |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub as_string { |
|
12
|
8
|
|
|
8
|
1
|
21
|
my $self = shift; |
|
13
|
8
|
|
|
|
|
174
|
return $$self; |
|
14
|
|
|
|
|
|
|
} |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=encoding utf8 |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Template::Stash::AutoEscaping::RawString - raw string support for |
|
23
|
|
|
|
|
|
|
L. Internal use. |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
See L . |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
For internal use. |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head2 Methods |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head2 new |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Constructor. |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 as_string |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Return the string. |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 LICENSE |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
|
46
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 AUTHOR |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
mala Ecpan@ma.laE (original author of L) |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Shlomi Fish (L) added some enhancements and |
|
53
|
|
|
|
|
|
|
fixes, while disclaiming all rights, as part of his work for |
|
54
|
|
|
|
|
|
|
L and released the result as |
|
55
|
|
|
|
|
|
|
C . |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
L |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut |