I've never taken this approach when making a read-only variable (opting for using constant/Readonly, instead).
Question for other monks: How common/acceptable is an approach like OP's $c=\99;? Although concise, it is less readable (and probably easy to not notice). Thanks.
In reply to Re: Modification of a read-only value attempted
by frozenwithjoy
in thread Modification of a read-only value attempted
by panku
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |