| 1 | # This is the new Filter::Simple engine for PDL::NiceSlice | ||||||||||
| 2 | # | ||||||||||
| 3 | 6 | ▶ | use Filter::Simple; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 6 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 6 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | { | ||||||||||
| 8 | 6 | ▶ | no warnings 'redefine'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 39 | ▶ | sub PDL::NiceSlice::FilterSimple::code_no_comments { | ||||||||
|
Subroutine
code_no_comments: called CC=3 SCAR=11.7
Pod
undocumented
| |||||||||||
| 10 | 39 | ▶ | print STDERR "***** Input: \n$_\n" if $PDL::NiceSlice::debug_filter; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 11 | 39 | $_ = perldlpp('PDL::NiceSlice', $_); | |||||||||
| 12 | 39 | ▶ | print STDERR "***** Output: $_\n" if $PDL::NiceSlice::debug_filter; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | } | ||||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 6 | FILTER_ONLY | |||||||||
| 17 | code_no_comments => \&PDL::NiceSlice::FilterSimple::code_no_comments, | ||||||||||
| 18 | 5 | ▶ | all => sub { print STDERR "*** Final: $_\n" if $PDL::NiceSlice::debug_filter }; | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.2
Branch: 1 branch
| |||||||||||
| 19 | |||||||||||
| 20 | 6 | 1; | |||||||||