1Mo::required(3)       User Contributed Perl Documentation      Mo::required(3)
2
3
4

Name

6       Mo::required - Adds the required feature to Mo's has
7

Synopsis

9           use Mo qw'required';
10           has name => ( required => 1 );
11

Description

13       Adds the required parameter to has. When required is set to a positive
14       value, the constructor will die if the attribute is not set.
15
16
17
18perl v5.30.1                      2020-01-30                   Mo::required(3)
Impressum