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.0                      2019-07-26                   Mo::required(3)
Impressum