in reply to Reading data from file

You could also use the Text::CSV_XS module (which has the core written in C for speed). Have a look at the manual page on CPAN. It's very fast and very easy to use.