Thanks for your help. I am reading the data from database and not csv.
In reply to Re^2: Perl help by hello_beginner in thread Perl help by hello_beginner