| 1 | package Bread::Board::Literal; | ||
| 2 | 64 | our $AUTHORITY = 'cpan:STEVAN'; | |
| 3 | # ABSTRACT: service providing a literal value | ||
| 4 | 64 | $Bread::Board::Literal::VERSION = '0.37'; | |
| 5 | 64 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 64 | with 'Bread::Board::Service'; | |
| 8 | |||
| 9 | 64 | has 'value' => ( | |
| 10 | is => 'rw', | ||
| 11 | required => 1, | ||
| 12 | ); | ||
| 13 | |||
| 14 | 141 | ▶ | sub get { (shift)->value } |
|
Subroutine
get: called CC=1 SCAR=0.0
Pod
documented
| |||
| 15 | |||
| 16 | 1 | ▶ | sub clone_and_inherit_params { |
|
Subroutine
clone_and_inherit_params: called CC=1 SCAR=0.0
Pod
documented
| |||
| 17 | 1 | confess 'Trying to inherit from a literal service'; | |
| 18 | } | ||
| 19 | |||
| 20 | 64 | __PACKAGE__->meta->make_immutable; | |
| 21 | |||
| 22 | 64 | ▶ | no Moose; 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | |||
| 24 | __END__ | ||