| 1 | 2 | ▶ | use 5.14.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | package MoopsX::TraitFor::Parser::UsingMoose; | ||
| 6 | |||
| 7 | # ABSTRACT: A Moops::Parser traits that sets 'using Moose' | ||
| 8 | 2 | our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY | |
| 9 | 2 | our $VERSION = '0.0103'; | |
| 10 | |||
| 11 | 2 | ▶ | use Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 1 | ▶ | after parse => sub { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 14 | 1 | shift->relations->{'using'} = ['Moose']; | |
| 15 | 2 | }; | |
| 16 | |||
| 17 | 2 | 1; | |
| 18 | |||
| 19 | __END__ | ||