| 1 | package App::lcpan::Cmd::author_rels; | ||||||||||
| 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 | |||||||||||
| 9 | 1 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |||||||||
| 10 | 1 | our $DATE = '2023-09-26'; # DATE | |||||||||
| 11 | 1 | our $DIST = 'App-lcpan'; # DIST | |||||||||
| 12 | 1 | our $VERSION = '1.074'; # VERSION | |||||||||
| 13 | |||||||||||
| 14 | 1 | our %SPEC; | |||||||||
| 15 | |||||||||||
| 16 | 1 | $SPEC{'handle_cmd'} = { | |||||||||
| 17 | v => 1.1, | ||||||||||
| 18 | summary => 'List releases of an author', | ||||||||||
| 19 | args => { | ||||||||||
| 20 | %App::lcpan::common_args, | ||||||||||
| 21 | %App::lcpan::author_args, | ||||||||||
| 22 | %App::lcpan::flatest_args, | ||||||||||
| 23 | %App::lcpan::full_path_args, | ||||||||||
| 24 | %App::lcpan::detail_args, | ||||||||||
| 25 | %App::lcpan::sort_args_for_rels, | ||||||||||
| 26 | }, | ||||||||||
| 27 | }; | ||||||||||
| 28 | 0 | ▶ | sub handle_cmd { | ||||||||
|
Subroutine
handle_cmd: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 29 | 0 | my %args = @_; | |||||||||
| 30 | |||||||||||
| 31 | 0 | ▶ | $args{no_path} = 1 unless $args{full_path}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 32 | 0 | App::lcpan::releases(%args); | |||||||||
| 33 | } | ||||||||||
| 34 | |||||||||||
| 35 | 1 | 1; | |||||||||
| 36 | # ABSTRACT: List releases of an author | ||||||||||
| 37 | |||||||||||
| 38 | __END__ | ||||||||||