My data is set up so i have a hash within a hash.
After entering into the hash all of the data, I want to delete certain elements from the main hash.
I'm using:
foreach $x (@deleteWordList)
{
delete $wordList{$x};
}
But when i search through the Hash after this for an item that should have been deleted, it is still there.
What am i doing wrong?
After entering into the hash all of the data, I want to delete certain elements from the main hash.
I'm using:
foreach $x (@deleteWordList)
{
delete $wordList{$x};
}
But when i search through the Hash after this for an item that should have been deleted, it is still there.
What am i doing wrong?