in reply to Re^7: simple array question
in thread simple array question

I'm learning [Perl] initially to do a transformation on csv files with an unusual layout to import into a database.

I encourage you to use the CPAN module Text::CSV. Do not try to write a CSV parser yourself in Perl. (It would be wise to heed this advice even if you weren't a Perl novice as you've told us you are.)

Since your first adventure with the Perl programming language is a database application, consider using DBI and DBD::CSV.

Welcome to the Perl community!

Replies are listed 'Best First'.
Re^9: simple array question
by tw (Acolyte) on Jan 04, 2011 at 03:04 UTC

    Thanks Jim for the welcome and the advice. I've been very pleasantly surprised by the amount of help i've received from the monks after only one day.

    Have had a look at Text::CSV and Text::CSV_XS but did try doing a simple one on my own but i am running into trouble with it so i will take you're good advice.