table of contents
Mo::is(3) | User Contributed Perl Documentation | Mo::is(3) |
Name¶
Mo::is - Adds the is feature to Mo's has
Synopsis¶
use Mo qw'is'; has name => ( is => 'ro' );
Description¶
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".
2016-07-08 | perl v5.40.0 |