Reading a files in a folder

2007-01-09 Thread Geetha Weerasooriya
Hi , I have data files which are in different folders. I want to run the same program on all the data files. For example I have 12 folders for 12 months of the year and each folder contains the files for each day of the month. So one file contains 30 or 31 files. Can some one kindly guide me

incorrect output

2006-09-27 Thread Geetha Weerasooriya
Hi, I am extremely grateful to all those who answered my question and I am happy to say that I was able to get a solution to my problem from the suggestions and explanations given by you. I understood my mistakes and learned a lot from you. Thanks again. Best wishes, Geetha

incorrect output

2006-09-26 Thread Geetha Weerasooriya
Hi dear all, I have written a script which reads the data lines and when a blank line is found all the data up to the previous line is considered as a one set and new set is started after the next line. Then I subtracted from one element of the last line of that set the same element of the first

Access elements of a array of hases

2006-09-15 Thread Geetha Weerasooriya
Hi , I have an Array of Hashes as follows: @array = ( { 'A'=1, 'B' =2, 'C'=3, 'D'=4} { 'A'=5, 'B' =6, 'C'=7, 'D'=8} { 'A'=9, 'B' =10, 'C'=11, 'D'=12} { 'A'=13, 'B' =14, 'C'=15, 'D'=16} { 'A'=17, 'B' =18, 'C'=19, 'D'=20} { 'A'=21, 'B' =22, 'C'=23, 'D'=24} ) I have given a reference to this

Remving unnecessary data

2006-09-05 Thread Geetha Weerasooriya
Dear Mr. Dani, Thank you so much for the perl script and for your kindness. It seems you have taken great trouble to help me. It will be very much helpful to me. I am really thankful to you. I will try that script and let you know the result. Thanks again, Kind regards, Geetha

Removing unnecessary data

2006-09-03 Thread Geetha Weerasooriya
Hi Dear all, I have a data file for bus trajectories where bus location at each second along the route is given. The specified route for the bus is from origin (Point A) to Destination (Point B) , but sometimes bus has changed the route at a point (Point C) in between A and B and has gone in

RE: Removing unnecessary data

2006-09-03 Thread Geetha Weerasooriya
already attached. Please apologize me for the long mail. Kind regards, Geetha -Original Message- From: D. Bolliger [mailto:[EMAIL PROTECTED] Sent: Sunday, September 03, 2006 7:11 PM To: beginners@perl.org Subject: Re: Removing unnecessary data Geetha Weerasooriya am Sonntag, 3. September

Removing Unnecessary data

2006-09-03 Thread Geetha Weerasooriya
Dear Mr. Dani, Thanks for your mail. I am so happy that you are exactly understanding my problem and you have already understood it correctly even beyond what I have explained. Sorry there are 10 data fields and I have given the 10 labels. Distance and Flag are two labels. Distance

Seperate into different files

2006-08-15 Thread Geetha Weerasooriya
Hi dear all, I have a data file where there are bus probe data for different bus ID's. I want to separate these data based on vehicle ID, date, time and distance from intersections. Can some one kindly give me an idea to do this? Kind regards, Geetha

error message

2006-07-10 Thread Geetha Weerasooriya
Dear All, In my perl code for MapMatching, I have following while loop. When I run the program I get the following two error messages(for each data line in the data file) But the out put file is created. Use of uninitialized value in int at filename.pl lineNo, DATA line .. Use of unititialized

error message

2006-07-10 Thread Geetha Weerasooriya
Dear All, In my perl code for MapMatching, I have following while loop. When I run the program I get the following two error messages(for each data line in the data file) But the out put file is created. Use of uninitialized value in int at filename.pl lineNo, DATA line .. Use of unititialized

Next

2006-07-06 Thread Geetha Weerasooriya
Dear All, Thank you so much for sending me the solution to my problem. It was the first problem I asked and I am really happy I got very well explained answers. I understood it well. Thanks again for every one who take time to answer my question. Kind regards, Geetha

Next

2006-07-05 Thread Geetha Weerasooriya
Dear all, When I was reading a Perl code I found the following line. Can u please explain what it means? !defined($rt_nearest) or $dh$dist or next; Kind regards, Geetha