in reply to Re^3: What is the best way to handle this data?
in thread What is the best way to handle this data?

awesome. that works great. one more quick question... what would be the best way to remove any trailing/leading whitespace from the elements, as some of them have it? i know how to remove leading/trailing whitespace... but is there a way to do it on the current hash?
  • Comment on Re^4: What is the best way to handle this data?

Replies are listed 'Best First'.
Re^5: What is the best way to handle this data?
by toolic (Bishop) on Apr 28, 2009 at 20:08 UTC
    You should remove whitespace before loading data into the hash, not after it is in the hash, especially if the hash keys have whitespace.