The 'alarmed' you're modifying needs a sigil. You're trying to add to the constant 'alarmed'. use strict; would have caught that.
$alarmed += $temporary[5] ### ERROR LINE ### # ^
After Compline,
Zaxo
In reply to Re: HELP!!! Can't modify constant item in addition (+) at .....
by Zaxo
in thread HELP!!! Can't modify constant item in addition (+) at .....
by francisongsw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |