in reply to perl module or code for calculating the shortest distance between a line and a point (vector linear algebra)
zwon gave my first look reply. However I'm curious about your else if construct. Is that a typo (which implies you didn't copy and paste actual code), or haven't you bothered to tell us about the actual problem you are having?
Maybe if zwon's answer isn't the solution you are looking for you should reply with some code that demonstrates the error you are getting and (for some very small sample data set) give an expected answer. Oh, and always use strictures (use strict; use warnings;).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl module or code for calculating the shortest distance between a line and a point (vector linear algebra)
by almut (Canon) on Dec 30, 2009 at 10:42 UTC |