Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Odd hash problem

by vagnerr (Prior)
on Feb 23, 2007 at 15:02 UTC ( [id://601741] : note . print w/replies, xml ) Need Help??


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.