in reply to hash{X}=array[X] results in two hash keys

If I include use strict, I get the error "Use of uninitialized value in concatenation (.) or string at ./myscript.pl line 13." preceeding the print of the element that has the value as the key and no value.
<pedantic>That comes from warnings not strict. Errors from strict are fatal, and the output you got above didn't kill the script</pedantic>

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

  • Comment on Re: hash{X}=array[X] results in two hash keys