App-Relate
view release on metacpan or search on metacpan
__END__
=head1 DESCRIPTION
The mnemonic is that B<relate> makes the file system a little
more relational and a little less hierarchical (but L<relate isn't really>).
Instead of typing this:
locate this | egrep "with_this" | egrep "and_this" | egrep -v "but_not_this"
You can just type:
relate this with_this and_this -but_not_this
So essentially this script is the equivalent of
locate primary_term | egrep term2 | egrep term3 [....| termN]
Though it also has a few other features, B<relate>:
o screens out "uninteresting" files by default (emacs backups, CVS/RCS files)
o has options to restrict reports to files, directories or symlinks.
lib/App/Relate.pm view on Meta::CPAN
relate( \@search, \@filter );
relate( \@search, \@filter, $opts );
=head1 DESCRIPTION
relate simplifies the use of locate.
Instead of:
locate this | egrep "with_this" | egrep "and_this" | egrep -v "but_not_this"
You can type:
relate this with_this and_this -but_not_this
This module is a simple back-end to implement the relate script.
See L<relate> for user documentation.
=head2 EXPORT
None by default. The following, on request (or via ':all' tag):
=over
( run in 0.364 second using v1.01-cache-2.11-cpan-0a987023a57 )