in reply to Zip code distance search

In addition to what roboticus says,

  1. Unless you know the difference and intend it, you should use my in place of local.
  2. You should probably use or in place of || - check out operator precedence to see why.
  3. You should probably use the three argument version of open in place of the two, since there are significant security implications.
  4. You probably mean chomp in place of chop.