App::Ack - A container for functions for the ack program
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.
Reads the contents of the .ackrc file and returns the arguments.
Takes an array of options passed in on the command line and returns a hashref of information about them:
* # is: Match the filename exactly # ext: Match the extension # regex: Match against a Perl regular expression
This functions removes a trailing path separator, if there is one, from its argument
Returns a regex object based on a string and command-line options.
Dies when the regex $str is undefinied (i.e. not given on command line).
Checks that the $regex_str can be compiled into a perl regular expression. Dies with the error message if this is not the case.
No return value.
Put out an ack-specific warning.
Die in an ack-specific way.
Returns a list of all the types that we can detect.
Dumps the help page to the user.
Display the filetypes help subpage.
Returns the version information for ack.
Prints the version information for ack.
Return the copyright for ack.
Set default colors, load Term::ANSIColor
Returns true if ack's input is coming from a pipe.
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 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.