in reply to hash and matching synonyms
If I understand you correctly, you just need to change this line:
to this:if (exists $hash{$nam[0]})
if ( grep { exists $hash{$_} } @nam )
If not, then trim both your input files to the bare minimum of data needed to demonstrate the failing behavior, and post them in this thread.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: hash and matching synonyms
by Anonymous Monk on Jun 03, 2007 at 18:30 UTC | |
by ysth (Canon) on Jun 04, 2007 at 01:08 UTC |