Mo::is - Adds the is feature to Mo's has
use Mo qw'is'; has name => ( is => 'ro' );
Adds the is parameter to has. If you set it to ro, the accessor will only work as a getter. You will still able to set the value at construction time via new.
new
To install Mo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mo
CPAN shell
perl -MCPAN -e shell install Mo
For more information on module installation, please visit the detailed CPAN module installation guide.