| 1 | package App::Ack::Filter::Default; | ||
| 2 | |||
| 3 | =head1 NAME | ||
| 4 | |||
| 5 | App::Ack::Filter::Default | ||
| 6 | |||
| 7 | =head1 DESCRIPTION | ||
| 8 | |||
| 9 | The class that implements the filter that ack uses by | ||
| 10 | default if you don't specify any filters on the command line. | ||
| 11 | |||
| 12 | =cut | ||
| 13 | |||
| 14 | 583 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 583 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 583 | ▶ | use parent 'App::Ack::Filter'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | |||
| 18 | 312 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 19 | 312 | my ( $class ) = @_; | |
| 20 | |||
| 21 | 312 | return bless {}, $class; | |
| 22 | } | ||
| 23 | |||
| 24 | 3485 | ▶ | sub filter { |
|
Subroutine
filter: called CC=1 SCAR=0.0
Pod
documented
| |||
| 25 | 3485 | my ( undef, $file ) = @_; | |
| 26 | |||
| 27 | 3485 | return -T $file->name; | |
| 28 | } | ||
| 29 | |||
| 30 | 583 | 1; | |