pmsort - sort perl module names by package component
pmsort [-hmv | --help | --manpage | --version]
pmsort [-nv] [file | package] ...
pmsort [--numerically] [--reverse] [file | package] ...
This program is thin wrapper around "sort_packages_lexically" in FindApp::Utils::Package and "sort_packages_numerically" in FindApp::Utils::Package.
The default is to sort package names lexically, but the --numerically or -n option will sort them numerically.
Package names are read from the normal input arguments via ARGV, which are interpreted as filenames containing packages one per line unless at least one of them has a double-colon in it. If no arguments are given, then STDIN is read from.
ARGV
STDIN
Sorting packages is a type of field sort, where the field separator is a double-colon or the legacy single-quote equivalent. So you first sort on the first field and only if there's a tie do you go on to the second field.
Get short help.
Display this man page.
Sort module names first by the number of package elements and only second by the names themselves.
Reverse the output order.
Print program version information, then exit.
Tom Christiansen <tchrist@perl.com>
<tchrist@perl.com>
Copyright (c) 2016, Tom Christiansen <tchrist@perl.com>. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install FindApp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FindApp
CPAN shell
perl -MCPAN -e shell install FindApp
For more information on module installation, please visit the detailed CPAN module installation guide.