| 1 | package PMLTQ::Command::configuration; | ||
| 2 | 1 | our $AUTHORITY = 'cpan:MATY'; | |
| 3 | 1 | $PMLTQ::Command::configuration::VERSION = '1.5.0'; | |
| 4 | # ABSTRACT: GET current configuration | ||
| 5 | |||
| 6 | 1 | ▶ | use PMLTQ::Base 'PMLTQ::Command'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use JSON; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | ▶ | use YAML::Tiny; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | ▶ | use Hash::Merge 'merge'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 0 | ▶ | has usage => sub { shift->extract_usage }; |
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||
| 12 | |||
| 13 | sub run { | ||
| 14 | 0 | ▶ | my $self = shift; |
|
Subroutine
run: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 0 | my $config = $self->config; | |
| 16 | 0 | print YAML::Tiny->new( $config)->write_string; | |
| 17 | } | ||
| 18 | |||
| 19 | |||
| 20 | 1 | 1; | |
| 21 | |||
| 22 | __END__ | ||