NAME

App::Ack

DESCRIPTION

A container for functions for the ack program.

SYNOPSIS

If you want to know about the ack program, see the ack file itself.

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

FUNCTIONS

warn( @_ )

Put out an ack-specific warning.

die( @msgs )

Die in an ack-specific way.

show_help()

Dumps the help page to the user.

show_help_types()

Display the filetypes help subpage.

show_help_colors()

Display the colors help subpage.

show_help_rgb()

Display the RGB help subpage.

get_version_statement

Returns the version information for ack.

output_to_pipe()

Returns true if ack's input is coming from a pipe.

exit_from_ack( $nmatches )

Exit from the application with the correct exit code.

Returns with 0 if a match was found, otherwise with 1. The number of matches is handed in as the only argument.

show_types( $file )

Shows the filetypes associated with a given file.