Nov 4, 2009

Perl Error - Modification of non-creatable array value attempted, subscript -1 at /nfs/opt/scripts/build_output_parser.pl line 228.

Error:
Modification of non-creatable array value attempted, subscript -1 at parser.pl line 228.

Solution:
Accessing elements of an empty array with a negative index value.
ex - @a = (); $a[-1];
can be overriden by    "$a[-1]"


If you find this information helpful, please click the ads below

No comments:

Post a Comment