Calculate the distance between 2 coordinates

2002-01-10 Thread Ray Seals
I've been looking for either a perl script or module to help me calculate the distance between 2 coordinates. Does anyone have any ideas or scripts? Ray -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Calculate the distance between 2 coordinates

2002-01-10 Thread Ray Seals
I searched google and found several examples. Should have done that first but didn't think about it before I posted. Sorry for the wasted bandwidth. Ray -Original Message- From: Mel Matsuoka [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 6:03 PM To: [EMAIL PROTECTED] Subj

Problem setting port speeds with POSIX

2002-03-11 Thread Ray Seals
I'm trying to change the inbound and outbound port speeds of a serial port using POSIX. I'm trying to write a small perl script to drive an LCD display. The reason I open it as DisplayIO is because I need to print to standard IO. At the moment all I'm trying to do is change the port speed bu

RE: message to cell phone

2002-03-11 Thread Ray Seals
Most cell phones will allow you to send email to them. That's how we do it. We just use sendmail from the perl script. For example, Cingular cellular is area code phone number @ my.cingular.com. So we send e-mail to [EMAIL PROTECTED] Ray -Original Message- From: Joyce Harris [mailto:

Use a hash or multi dimensional array?

2003-01-02 Thread Ray Seals
pop. Then push the new value and 2 letter to the list. The only reason I keep looking at a hash is because I need to sort the list when I do my reporting. I thought about taking the cheesy way out and use a case/switch setup, but I won't always know what the 2 letter codes will be. -

Regular Expressions and LWP

2003-07-16 Thread Ray Seals
e->is_error; my $content = $response->content(); @location = $content =~ m{MapViewMode=Summary">([^<]*)}g; print "@location[0]\n"; %<--->% Here is the HTML that $content contains: WhatsUp Gold - Testing Box ... < LOTS OF STUFF CUT OUT > ... test devic

parsing PDF documents

2003-07-23 Thread Ray Seals
I know that normally the question would be, how do I create a PDF from perl. My question, is there a perl module that would allow me to open a PDF and parse it for specific information? There are a series of pdf files that are generated weekly. I want to read the file and pull out about 15 lines