| 1 | package Mason::Test::Overrides::Component::StrictMoose; | ||
| 2 | 1 | $Mason::Test::Overrides::Component::StrictMoose::VERSION = '2.24'; | |
| 3 | 1 | ▶ | use Moose::Exporter; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use MooseX::StrictConstructor (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use base qw(Mason::Component::Moose); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 1 | Moose::Exporter->setup_import_methods(); | |
| 12 | |||
| 13 | 1 | ▶ | sub init_meta { |
|
Subroutine
init_meta: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 14 | 1 | my $class = shift; | |
| 15 | 1 | my %params = @_; | |
| 16 | 1 | $class->SUPER::init_meta(@_); | |
| 17 | 1 | MooseX::StrictConstructor->import( { into => $params{for_class} } ); | |
| 18 | } | ||
| 19 | |||
| 20 | 1 | 1; | |