| 1 | package Perl::Achievements::Command::scan; | ||
| 2 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | $Perl::Achievements::Command::scan::AUTHORITY = 'cpan:YANICK'; | |
| 4 | } | ||
| 5 | { | ||
| 6 | 1 | $Perl::Achievements::Command::scan::VERSION = '0.4.0'; | |
| 7 | } | ||
| 8 | # ABSTRACT: inspects scripts/modules for achievements | ||
| 9 | |||
| 10 | 1 | ▶ | use 5.10.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | |||
| 13 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | |||
| 18 | 1 | extends 'Perl::Achievements::Command'; | |
| 19 | |||
| 20 | 0 | ▶ | sub execute { |
|
Subroutine
execute: not called CC=2 SCAR=17.9
Pod
documented
| |||
| 21 | 0 | my ( $self, undef, $args ) = @_; | |
| 22 | |||
| 23 | 0 | for ( @$args ) { | |
| 24 | 0 | $self->log_debug( "scanning '$_'..." ); | |
| 25 | 0 | $self->scan( $_ ); | |
| 26 | } | ||
| 27 | } | ||
| 28 | |||
| 29 | 1 | 1; | |
| 30 | |||
| 31 | __END__ | ||