| 1 | package Perl::Achievements::Command::init; | ||
| 2 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | $Perl::Achievements::Command::init::AUTHORITY = 'cpan:YANICK'; | |
| 4 | } | ||
| 5 | { | ||
| 6 | 1 | $Perl::Achievements::Command::init::VERSION = '0.4.0'; | |
| 7 | } | ||
| 8 | # ABSTRACT: initializes the perl-achievements environment | ||
| 9 | |||
| 10 | 1 | ▶ | use 5.10.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | |||
| 13 | 1 | ▶ | use 5.10.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | |||
| 18 | 1 | ▶ | use Path::Class qw/ file /; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | |||
| 22 | 1 | extends 'Perl::Achievements::Command'; | |
| 23 | |||
| 24 | 0 | ▶ | sub execute { |
|
Subroutine
execute: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 25 | 0 | my $self = shift; | |
| 26 | |||
| 27 | 0 | $self->initialize_environment; | |
| 28 | |||
| 29 | 0 | say $self->rc, ' created'; | |
| 30 | |||
| 31 | 0 | say "you might want to edit ", file( $self->rc, 'config' ), | |
| 32 | " with your name and information"; | ||
| 33 | } | ||
| 34 | |||
| 35 | |||
| 36 | 1 | 1; | |
| 37 | |||
| 38 | __END__ | ||