| 1 | package App::lcpan::Cmd::author_mods_by_other_author_rdep_count; | ||
| 2 | |||
| 3 | 1 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | require App::lcpan; | |
| 8 | 1 | require App::lcpan::Cmd::mods_by_rdep_count; | |
| 9 | |||
| 10 | 1 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |
| 11 | 1 | our $DATE = '2023-09-26'; # DATE | |
| 12 | 1 | our $DIST = 'App-lcpan'; # DIST | |
| 13 | 1 | our $VERSION = '1.074'; # VERSION | |
| 14 | |||
| 15 | 1 | our %SPEC; | |
| 16 | |||
| 17 | 1 | $SPEC{'handle_cmd'} = { | |
| 18 | v => 1.1, | ||
| 19 | summary => 'List modules of an author sorted by their number of reverse dependencies from other authors', | ||
| 20 | args => { | ||
| 21 | %App::lcpan::common_args, | ||
| 22 | %App::lcpan::author_args, | ||
| 23 | %App::lcpan::detail_args, | ||
| 24 | }, | ||
| 25 | tags => [], | ||
| 26 | }; | ||
| 27 | 0 | ▶ | sub handle_cmd { |
|
Subroutine
handle_cmd: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 28 | 0 | my %args = @_; | |
| 29 | |||
| 30 | 0 | my $author = delete $args{author}; | |
| 31 | 0 | $args{module_authors} = [$author]; | |
| 32 | 0 | $args{dist_authors_arent} = [$author]; | |
| 33 | 0 | App::lcpan::Cmd::mods_by_rdep_count::handle_cmd(%args); | |
| 34 | } | ||
| 35 | |||
| 36 | 1 | 1; | |
| 37 | # ABSTRACT: List modules of an author sorted by their number of reverse dependencies from other authors | ||
| 38 | |||
| 39 | __END__ | ||