hitode 909
and 3 contributors

NAME

git-grep-perl-statement - Perl statement finder

SYNOPSIS

Find statements which contains $self

    $ git grep-perl-statement '$self'
    $ git grep-perl-statement '$self' lib/

DESCRIPTION

git-grep-perl-statement is the git-grep for perl.

Ordinary git-grep '$self' matches $selfie or "$self". git-grep-perl-statement matches only $self.

Ordinary git-grep shows matched line. git-grep-per-statement shows matched statement.

EXAMPLES

    % git grep-perl-statement colored
    git-grep-perl-statement:61
    colored($self->highlight_style, $_);
    git-grep-perl-statement:85
    say colored(
        ['bold'],
        "@{[ $file ]}:@{[ $_->line_number ]}"
    );

LICENSE

Copyright (C) hitode909.

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

AUTHOR

hitode909 <hitode909@gmail.com>