in reply to Regular Expression Help!!
in thread Debugging Help!!!

You're only passing HALF of what's needed to the function. It's expecting latitude and longitude. You're only giving it latitude (or longitude, I can't remember which).

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Replies are listed 'Best First'.
Re^2: Regular Expression Help!!
by Anonymous Monk on Apr 13, 2006 at 13:42 UTC
    Did you run it by adding another value?
      Well, you've kind of left out parse_degrees() and degrees_to_radians(), so I couldn't test it fully, but to answer your question, yes.
      my ($lat1,$long1) = parse_location('34:45:12N,12:34:56E');
      That "worked" for me.

      Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
      How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart
        Ok, that takes me back to my earlier issue, and so far it's not going anywhere, maybe you could take a look at it and help me there if you can. Take a look at this posting called "Debugging Help!!!"