++ed by:
PERLANCAR BRUNOV FIBO MEMOWE DELON

18 PAUSE user(s)
9 non-PAUSE user(s).

Ingy döt Net

Name

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

Synopsis

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

Description

Adds the required parameter to has. When required is set to a positive value, the constructor will die if the attribute is not set.