In hindsight, this is because Readonly is recommending fully qualified subs,
Readonly::Scalar $sca => $initial_value; Readonly::Array @arr => @values; Readonly::Hash %has => (key => value, key => value, ...);
Any "drop-in replacement" supporting this must meddle with the namespace ... ugly!
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re^4: Readonly vs ReadonlyX (bad style)
by LanX
in thread Readonly vs ReadonlyX
by rlauer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |