| 1 | package SyForm::ResultsRole::Success; | ||
| 2 | 6 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 6 | $SyForm::ResultsRole::Success::AUTHORITY = 'cpan:GETTY'; | |
| 4 | } | ||
| 5 | # ABSTRACT: A bool for holding the success of the form process | ||
| 6 | 6 | $SyForm::ResultsRole::Success::VERSION = '0.103'; | |
| 7 | 6 | ▶ | use Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 6 | ▶ | use overload 'bool' => sub { $_[0]->success }; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 6 | has success => ( | |
| 12 | is => 'ro', | ||
| 13 | required => 1, | ||
| 14 | ); | ||
| 15 | |||
| 16 | 6 | 1; | |
| 17 | |||
| 18 | __END__ | ||