some thing coming new the requirements
consider a CSV file
20045667886,tamrind,user,india,address,love
20045667886,tamrind,abcd,india,address,love
20045667886,tamrind,user,india,address,love
20045667886,tamrind,user,india,address,love
20045667886,tamrind,user,india,address,love
this is a perfect file for me
now i get a file like
20045667886,tamrind,user,india,address,love
20045667886,tamrind,user,india,address,love
20045667886,tamrind,user,
20045667886,tamrind,user,india,address,love
20045667886,tamrind,user,india,address,love
in which the third record of the file has some fields missing ...
i just want to exit the process by checking this .
and if possible give the record number.
ie an output like 'the record with $record_no is incorrect'