Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: hash of unique words

by Ninke (Novice)
on Apr 22, 2013 at 17:50 UTC ( #1029940=note: print w/replies, xml ) Need Help??


in reply to Re: hash of unique words
in thread hash of unique words

Choroba, thanx very much, that does exactly what I want. A nice trick with {$_} for @words, that reduced the number of lines twice:) Though I don't understand the magic to the end, especially when a hash of hashes ($uniform{ $words_en$word_index }{$_}) turnes into a one-dimentional hash: $uniform{$word}. I just need to use it in practice and then I'll get it:)