in reply to Sort by distance
Two questions: Where, and how, do you define @zip_dist? It's hard to figure out what the problem with a sort is if we can't see the data that's being sorted.
And number 2: What are you trying to do in line #22? Whatever it is, something should probably have a different name. (You've got @km and $km, and I think you are trying to use them as separate variables. Which can be done, but it's going to confuse you, your maintainer, or perl. Or all three.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sort by distance
by pglinx (Acolyte) on May 27, 2009 at 14:23 UTC | |
by DStaal (Chaplain) on May 27, 2009 at 14:35 UTC | |
by pglinx (Acolyte) on May 27, 2009 at 14:53 UTC | |
by DStaal (Chaplain) on May 27, 2009 at 16:21 UTC | |
by Marshall (Canon) on May 28, 2009 at 00:14 UTC |