| 1 | package Mason::Plugin::DefaultFilter::Compilation; | ||||||||||||||
| 2 | |||||||||||||||
| 3 | 1 | ▶ | use Mason::PluginRole; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 4 | |||||||||||||||
| 5 | 1 | our $VERSION = '0.003'; # VERSION | |||||||||||||
| 6 | |||||||||||||||
| 7 | 2 | ▶ | around _handle_substitution => sub { | ||||||||||||
|
Subroutine
__ANON__: called CC=3 SCAR=11.0
| |||||||||||||||
| 8 | 2 | my($orig,$self,$text,$filter_list) = @_; | |||||||||||||
| 9 | 2 | ▶ | if (!defined $filter_list) { | ||||||||||||
|
Branch: 2 branches
| |||||||||||||||
| 10 | 1 | $filter_list = join q{,}, @{$self->interp->default_filters}; | |||||||||||||
| 11 | } elsif ($filter_list eq 'N') { | ||||||||||||||
| 12 | 1 | $filter_list = undef; | |||||||||||||
| 13 | } | ||||||||||||||
| 14 | 2 | $self->$orig($text,$filter_list); | |||||||||||||
| 15 | 1 | }; | |||||||||||||
| 16 | |||||||||||||||
| 17 | 1 | 1; | |||||||||||||