The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

Version 1.20

SYNOPSIS

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

FUNCTIONS

is_filetype( $filename, $filetype )

Asks whether $filename is of type $filetype.

filetypes( $filename )

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

filetypes_supported()

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

interesting_files( \&is_interesting, $should_descend, @starting points )

Returns an iterator that walks directories starting with the items in @starting_points. If $should_descend is false, don't descend into subdirectories. Each file to see if it's interesting is passed to is_interesting, which must return true.

All file-finding in this module is adapted from Mark Jason Dominus' marvelous Higher Order Perl, page 126.

_candidate_files( $dir )

Pulls out the files/dirs that might be worth looking into in $dir. If $dir is the empty string, then search the current directory. This is different than explicitly passing in a ".", because that will get prepended to the path names.

AUTHOR

Andy Lester, <andy at petdance.com>

BUGS

Please report any bugs or feature requests to bug-ack at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ack. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

The App::Ack module isn't very interesting to users. However, you may find useful information about this distribution at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2005-2006 Andy Lester, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.