Greetings,
I'm struggling with a little perl quandry.
I'm reading in a file to parse but some of the values I read in have different words for the same value, so I would like the related words to be converted to the common name.
For example, if I read in "large" or "Huge" or "Monsterous" I want to change the value to "BIG"
Similar for small and medium with similar related verbage.
so I tried to find an easier way than a huge IF then Else statement...
Any suggestions? I'm trying to figure out if I can use a hash effeciently. I'm parsing a 29MB file so I'm trying to keep it clean.
Thanks!