Andy Lester > ack-2.12 > App::Ack

Download:
ack-2.12.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 2.12   Source   Latest Release: ack-2.14

NAME ^

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

VERSION ^

Version 2.12

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 ^

remove_dir_sep( $path )

This functions removes a trailing path separator, if there is one, from its argument

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.

get_version_statement

Returns the version information for ack.

print_version_statement

Prints the version information for ack.

get_copyright

Return the copyright for ack.

output_to_pipe()

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

exit_from_ack

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.

COPYRIGHT & LICENSE ^

Copyright 2005-2013 Andy Lester.

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License v2.0.

syntax highlighting: