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

NAME

Devel::Examine::Subs::Prefilter - Provides core Pre-Filter callbacks for Devel::Examine::Subs

DESCRIPTION

This module generates and supplies the core prefilter module callbacks. Prefilters run after the core Processor, and before any Engine is run.

SYNOPSIS

Pre-filters can be daisy chained as text strings that represent a built-in prefilter, or as callbacks, or both.

See Devel::Examine::Subs::_pre_filter() for implementation details.

METHODS

All methods other than exists() takes an href of configuration data as its first parameter.

exists('prefilter')

Verifies whether the prefilter name specified as the string parameter exists and is valid.

subs()

Returns an aref of hash refs, each containing info per sub.

file_lines_contain()

Returns an aref similar to subs(), but includes an array within each sub href that contains lines that match a search term.

end_of_last_sub()

Takes data from subs().

Returns a scalar containing the last line number of the last sub in a file.

AUTHOR

Steve Bertrand, <steveb at cpan.org>

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Devel::Examine::Subs

LICENSE AND COPYRIGHT

Copyright 2015 Steve Bertrand.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.