Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Wow, I was trying to figure that out for the longest time and now that you pointed out what I was doing it's so obviouse. duh! Thanks everyone! No problemo :) I used the virtual teddybear method Basically, I read your program aloud , in my head (virtual), until i said "highest becomes key if highest lessthan value" Actually I said "highest is" but "becomes" sounds better -- I'm not very disciplined when it comes to speaking code Also known as teddy bear debugging , mirror debugging, empty room debugging, talking to yourself, Rubber Duck method of debugging, say it out loud George, sing into that hairbrush ...
In reply to Re^3: highest value in hash (virtual teddybear)
by Anonymous Monk
|
|