http://www.perlmonks.org?node_id=601741


in reply to Odd hash problem

You are using a hash so you need to use
foreach $Zip (keys(%ZipDB)){
Rather than
foreach $Zip (%ZipDB)


___________
Remember that amateurs built Noah's Ark. Professionals built the Titanic.

Replies are listed 'Best First'.
Re^2: Odd hash problem
by wpahiker (Acolyte) on Feb 23, 2007 at 15:11 UTC
    Ok, send me into the dungeon, call the inquisitors. Man, do I feel stupid. I've been looking at it all morning and didn't spot that.

    Thanks.