Another Moment Of Cluelessness

chaoticset on 2004-08-12T17:19:05

I don't understand it, I said to myself. I'm assigning each set of variables to a hash value as a hashref. It's not complaining about references, it's not complaining about undefined values, it's not complaining about anything -- yet the hash is unpopulated afterwards. Why?

On what had to be the hundredth time I look through the code, I realize that

my $var = shift;
isn't going to do anything if @_ isn't where the data in question is. In an effort to clarify what I was manipulating, I provided a named array to hold said data -- and bam, nothing was going into my hash now. This held me up for about a whole day.

Humility, thy name is simple errors.