How to remove line from file based on Check in Perl
I have a comma separated file in the database and i need to detect some cases in some of the lines. The data os from a GPS receiver and there are many parameters such as latitude longitude velocity time number of satellite visible etc. Wherever the position (latitude and longitude) are zero it means it had lost the track and the position. I need to detect all those lines automatically and delete the entire line from the database. I know this kind of job is very easy in Perl but all my efforts went in vain. i am still trying but if any one of you can help me get through this i will be glad. happy scripting.