1Mo::is(3) User Contributed Perl Documentation Mo::is(3)
23
4
Name
6Mo::is - Adds the is feature to Mo's has
7
Synopsis
9use Mo qw'is';
10has name => ( is => 'ro' );
11
Description
13Adds the is parameter to has. If you set it to ro, the accessor will
14only work as a getter. You will still able to set the value at
15construction time via "new".
1617
18
19
perl v5.34.0 2022-01-21 Mo::is(3)