in reply to I need help with the error "Modification of non-creatable array value attempted"
Could you provide input that produces the error message? I haven't found the winning combination with the code you posted.
The easiest debugging step here would be to just put a "warn $position;" immediately before line 8 to verify that it is what you think it is.
The next step will be to make your code strict/warnings compliant, which it currently isn't. That could turn up a typo somewhere in a variable name of the code you're running.
Dave
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: I need help with the error "Modification of non-creatable array value attempted"
by Hramyzn (Novice) on Jul 14, 2014 at 16:45 UTC | |
by Athanasius (Archbishop) on Jul 14, 2014 at 17:17 UTC | |
by davido (Cardinal) on Jul 14, 2014 at 17:09 UTC |
In Section
Seekers of Perl Wisdom