App::lcpan::Manual::Cookbook - App::lcpan cookbook
version 1.058.000
Items relevant to CPAN authors are tagged with [author].
[author]
TODO.
% lcpan deps YOUR-DIST --exclude-core
To find out which prerequisites that your distributions specify but are currently not indexed (i.e. probably cannot be installed by users):
% lcpan author-deps YOURCPANID --broken --dont-uniquify
% lcpan author-rdeps YOURCPANID --user-author-isnt YOURCPANID
# Show dependencies that were added in the last 2 weeks % lcpan author-rdeps YOURCPANID --user-author-isnt YOURCPANID --added-since '2 weeks ago' # Show dependencies that were updated in the last 2 weeks % lcpan author-rdeps YOURCPANID --user-author-isnt YOURCPANID --updated-since '2 weeks ago' # Show dependencies that were not present before your last 'lcpan update' % lcpan author-rdeps YOURCPANID --user-author-isnt YOURCPANID --added-in-last-update
TODO
% lcpan ver-cmp-installed % lcpan ver-cmp-installed --older-than-db ;# outdated modules (modules that need to be updated) % lcpan ver-cmp-installed --older-than-db --exclude-core ;# noncore outdated modules (noncore modules that need to be updated)
The ver-cmp-installed subcommand is distributed in App::lcpan::CmdBundle::ver.
ver-cmp-installed
This can also be done using tools like cpan-outdated (from App::cpanoutdated) or cpan-outdated-coro (from App::cpanoutdated::coro).
To update outdated modules:
% lcpan-ver-cmp-installed --older-than-db | td select module | lcpanm -n
td is provided by App::td.
# Show modules that were added in the last 2 weeks % lcpan mods -l --added-since '2 weeks ago' # Show modules that were updated in the last 2 weeks % lcpan mods -l --updated-since '2 weeks ago' # Show modules that were not present before the last 'lcpan update' % lcpan mods -l --added-in-last-index-update
There's also lcpan whatsnew.
lcpan whatsnew
You like Sub::Exporter and wonder what other modules might be similar or related to it:
% lcpan related-mods Sub::Exporter
perlancar <perlancar@cpan.org>
This software is copyright (c) 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.
To install App::lcpan::Manual, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::lcpan::Manual
CPAN shell
perl -MCPAN -e shell install App::lcpan::Manual
For more information on module installation, please visit the detailed CPAN module installation guide.