Andy Lester > ack-1.63_01 > App::Ack

Download:
ack-1.63_01.tar.gz

Dependencies

Annotate this POD (1)

CPAN RT

New  3
Open  2
View Bugs
Report a bug
Module Version: 1.63_01   Source   Latest Release: ack-1.90

NAME ^

App::Ack - A container for functions for the ack program

VERSION ^

Version 1.63_01

SYNOPSIS ^

If you want to know about the ack program

No user-serviceable parts inside. ack is all that should use this.

FUNCTIONS ^

skipdir_filter

Standard filter to pass as a File::Next descend_filter. It returns true if the directory is any of the ones we know we want to skip.

filetypes( $filename )

Returns a list of types that $filename could be. For example, a file foo.pod could be "perl" or "parrot".

The filetype will be undef if we can't determine it. This could be if the file doesn't exist, or it can't be read.

It will be '-ignore' if it's something that ack should always ignore, even under -a.

is_searchable( $filename )

Returns true if the filename is one that we can search, and false if it's one that we should ignore like a coredump or a backup file.

options_sanity_check( %opts )

Checks for sane command-line options. For example, -l doesn't make sense with -C.

warn( @_ )

Put out an ack-specific warning.

die( @_ )

Die in an ack-specific way.

filetypes_supported()

Returns a list of all the types that we can detect.

show_help()

Dumps the help page to the user.

show_help_types()

Display the filetypes help subpage.

version_statement( $copyright )

Prints the version information for ack.