| 1 | package Muuse::Role; | ||
| 2 | |||
| 3 | 2 | ▶ | use strictures 2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use Import::Into; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | ▶ | use Moose::Role (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 2 | ▶ | use MooseX::ShortHas (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 2 | our $VERSION = '1.222490'; # VERSION | |
| 10 | |||
| 11 | # ABSTRACT: Moose::Role but with less typing | ||
| 12 | |||
| 13 | # | ||
| 14 | # This file is part of Muuse | ||
| 15 | # | ||
| 16 | # | ||
| 17 | # Christian Walde has dedicated the work to the Commons by waiving all of his | ||
| 18 | # or her rights to the work worldwide under copyright law and all related or | ||
| 19 | # neighboring legal rights he or she had in the work, to the extent allowable by | ||
| 20 | # law. | ||
| 21 | # | ||
| 22 | # Works under CC0 do not require attribution. When citing the work, you should | ||
| 23 | # not imply endorsement by the author. | ||
| 24 | # | ||
| 25 | |||
| 26 | |||
| 27 | 1 | ▶ | sub import { |
|
Subroutine
import: called CC=2 SCAR=6.9
| |||
| 28 | 1 | my $caller = caller; | |
| 29 | 1 | $_->import::into( $caller ) for qw( Moose::Role MooseX::ShortHas ); | |
| 30 | } | ||
| 31 | |||
| 32 | 2 | 1; | |
| 33 | |||
| 34 | __END__ | ||