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

NAME

App::lcpan::Manual::Tips - Tips related to App::lcpan

VERSION

version 1.062.000

DESCRIPTION

Filtering result rows

Some subcommands offer filtering rows by some criteria, e.g. lcpan mods allow selecting only modules from a certain author (--author) or recentness in the index (--added-since, --updated-since-last-index-update, etc). But sometimes a subcommand does not offer filtering options or you need to filter based on some other criteria. There's a utility td (from App::td) which allows you to filter/transform result rows easily.

Some examples:

 # Show recently updated modules that are not released by PERLANCAR
 % lcpan mods --updated-since-last-index-update -l | td grep '$_->{author} ne "PERLANCAR"' --page

 # Show dependencies of App-lcpan to File::* modules
 % lcpan deps App-lcpan | td grep '$_->{module} =~ /^File::/' --page

SEE ALSO

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021, 2020 by perlancar@cpan.org.

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