View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Tina Müller > Mo > Mo::required



Annotate this POD


View/Report Bugs
Module Version: 0.40   Source  

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.

syntax highlighting: