| 1 | 2 | ▶ | use 5.008; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | package Text::Pipe::HTML::EncodeEntities; | ||
| 6 | 2 | our $VERSION = '1.100880'; | |
| 7 | # ABSTRACT: Text pipe that can encode HTML entities | ||
| 8 | 2 | ▶ | use HTML::Entities; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 2 | ▶ | use parent qw(Text::Pipe::HTML); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 2 | ▶ | sub filter_single { |
|
Subroutine
filter_single: called CC=1 SCAR=0.0
Pod
documented
| |||
| 12 | 2 | my ($self, $input) = @_; | |
| 13 | 2 | encode_entities($input); | |
| 14 | 2 | $input; | |
| 15 | } | ||
| 16 | 2 | 1; | |
| 17 | |||
| 18 | |||
| 19 | __END__ | ||