Save yourself some typing and some angst:
use constant Boo => { attr_A => 'A', attr_B => 'B', attr_C => 123, };
In reply to Re^3: Making 'all' the attributes read only by default (Moo)
by BrowserUk
in thread Making 'all' the attributes read only by default (Moo)
by blindluke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |