pcorelist - corelist with subcommands and shell completion
This is a wrapper around the corelist tool which adds shell completion
corelist is a tool providing information about when a module was included in the perl core, and when a feature was added to perl.
pcorelist is a simple wrapper that adds subcommands. This makes it easier to add tab completion.
pcorelist features <TAB> # shows all features pcorelist module <TAB> # shows all modules pcorelist diff <TAB> # shows all perl versions
--help -h Show command help (flag)
pcorelist completion-dir
Output the location of the shell completion files
For bash, just source the bash file.
source /path/to/completion/bash/pcorelist.bash
For zsh, put the following in your .zshrc:
.zshrc
# before the compinit call fpath=('/path/to/completion/zsh' $fpath)
Then exec zsh.
exec zsh
pcorelist diff [options] <perl1> <perl2>
Show diff between two Perl versions
Options:
--added Show only added modules (flag) --removed Show only removed modules (flag)
Parameters:
perl1 * Perl version 1 perl2 * Perl version 2
pcorelist features [options] [<feature>+]
List features with perl versions
If given a feature name as a parameter, show the perl feature bundle it was first released with.
--raw List only feature names (flag)
feature [] feature name (multiple)
pcorelist module [options] <module>
Show for which perl version the module was first released
--all -a Show all perl and module versions (flag) --date -d Show by date (flag) --perl -p Show by Perl Version
module * Module name
pcorelist modules
List all modules
pcorelist perl [options]
Perl Versions
--raw -r Show raw output without header (flag) --release Show perl releases with dates (flag)
pcorelist help <subcommands> [options]
Show command help
--all (flag)
pcorelist _meta <subcommands>
Information and utilities for this app
pcorelist _meta completion <subcommands>
Shell completion functions
pcorelist _meta completion generate [options]
Generate self completion
--name name of the program (optional, override name in spec) --zsh for zsh (flag) --bash for bash (flag)
pcorelist _meta pod <subcommands>
Pod documentation
pcorelist _meta pod generate
Generate self pod
To install App::pcorelist, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::pcorelist
CPAN shell
perl -MCPAN -e shell install App::pcorelist
For more information on module installation, please visit the detailed CPAN module installation guide.