| 1 | package App::DuckPAN::Cmd::Help; | ||||||||||
| 2 | 5 | our $AUTHORITY = 'cpan:DDG'; | |||||||||
| 3 | # ABSTRACT: Launch help page | ||||||||||
| 4 | 5 | $App::DuckPAN::Cmd::Help::VERSION = '1021'; | |||||||||
| 5 | 5 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 5 | with qw( App::DuckPAN::Option::Global ); | |||||||||
| 7 | |||||||||||
| 8 | 5 | ▶ | use MooX::Options protect_argv => 0; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 5 | ▶ | use Pod::Usage qw(pod2usage); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | 2 | ▶ | sub run { | ||||||||
|
Subroutine
run: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 12 | 2 | my ($self, $short_output) = @_; | |||||||||
| 13 | |||||||||||
| 14 | |||||||||||
| 15 | 2 | ▶ | pod2usage(-verbose => 2) unless $short_output; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | 1 | pod2usage(-verbose => 1); | |||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | 5 | 1; | |||||||||
| 20 | |||||||||||
| 21 | __END__ | ||||||||||