| 1 | package Perinci::Sub::XCompletion::perl_modname; | ||
| 2 | |||
| 3 | 1 | ▶ | use 5.010001; |
|
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 | ▶ | use Complete::Module qw(complete_module); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |
| 10 | 1 | our $DATE = '2022-11-25'; # DATE | |
| 11 | 1 | our $DIST = 'Perinci-Sub-XCompletionBundle-Perl'; # DIST | |
| 12 | 1 | our $VERSION = '0.103'; # VERSION | |
| 13 | |||
| 14 | 1 | our %SPEC; | |
| 15 | |||
| 16 | $SPEC{gen_completion} = { | ||
| 17 | 1 | v => 1.1, | |
| 18 | }; | ||
| 19 | 0 | ▶ | sub gen_completion { |
|
Subroutine
gen_completion: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 20 | 0 | my %fargs = @_; | |
| 21 | 0 | ▶ | sub { |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 22 | 0 | my %cargs = @_; | |
| 23 | 0 | complete_module(%cargs, %fargs); | |
| 24 | 0 | }; | |
| 25 | } | ||
| 26 | |||
| 27 | 1 | 1; | |
| 28 | # ABSTRACT: Generate completion for perl module name | ||
| 29 | |||
| 30 | __END__ | ||