in reply to My habitual errors
I have a few, but this one turns out to be a huge time waster. The habitual part is that for some reason this error is completely invisible to me until my eyes are bloodshot and I've banged my head on the keyboard several times.
my %hash = (abc => 1, def => 2); $key = 'abc'; $value = $hash{key}; # now try to use $value for something
Maybe confession wil help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: My habitual errors
by Moron (Curate) on Apr 05, 2007 at 11:59 UTC | |
|
Re^2: My habitual errors
by TGI (Parson) on Apr 07, 2007 at 01:07 UTC |