So why we can't change $c=1000?
As roboticus points out, you can make that change. That is, you can overwrite the value in $c -- currently the address of the constant 99 -- with any other value.
What you cannot do is overwrite the value held at the address held in $c, because it is a constant.
In reply to Re^3: Modification of a read-only value attempted
by BrowserUk
in thread Modification of a read-only value attempted
by panku
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |