in reply to Re: Coerce array into hash problem
in thread Coerce array into hash problem

Um, wouldn't there be a problem using a bare word ("data") as an array index?

With use strict;, such a thing would not be allowed; without the stricture, the bare word evaluates to zero when interpreted in a numeric context, and this is probably not the real intention...