Curtis "Ovid" Poe > App-Grepl-0.01 > grepl

Download:
App-Grepl-0.01.tar.gz

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

grepl - grep through Perl documents.

USAGE ^

 grepl [options] [files or directory]

OPTIONS ^

Options which take arguments

    -p, --pattern  A Perl regular expression to match against.
                   Default to the empty string.
    -s, --search   What parts of the Perl document to search in.
                   Defaults to C<--search quote,heredoc>.

Boolean options

    -w, --warnings Enable warnings
    -l             Filenames only
    -h,  --help    Display this help
    -?,            Display this help
    -H,  --man     Longer manpage for prove

SEARCHES ^

The following parts of Perl documents may be searched for:

The --search argument can accept a comma separate list of items to search for:

 --search pod,heredoc,quote

We'll add more things you can search for later.

All items may be plural to make them easier to read:

 grepl --search comments,heredocs --pattern 'XXX'

EXAMPLES ^

NOTES ^

Default Directory

If --dir or --files are not supplied, assumes we're search from the current directory on down.

SEE ALSO ^

ack, included with App::Ack.

CAVEATS ^

This is alpha code. You've been warned.

syntax highlighting: