Or, keep setting it to undef, but test with an if (exists $hash{$key})
In reply to Re^2: help speeding up my perl code by SuicideJunkie in thread help speeding up my perl code by a217