i appreciate the tips. unfortunately, adding modules to this server is not currently possible. does anyone have a more 'hands-on' solution?
On Fri, Nov 5, 2010 at 8:53 AM, Shawn H Corey <shawnhco...@gmail.com> wrote: > On 10-11-05 09:34 AM, jm wrote: >> >> i have csv files in the following format, where some fields are >> enclosed in double quotes if they have commas embedded in them and all >> other fields are simply comma-delimited without any encapsulation > > The best way to deal with CSV is to use a module from CPAN. > > Text::CVS http://search.cpan.org/~makamaka/Text-CSV-1.20/lib/Text/CSV.pm > > Text::CSV_XS http://search.cpan.org/~hmbrand/Text-CSV_XS-0.76/CSV_XS.pm > > > -- > Just my 0.00000002 million dollars worth, > Shawn > > Programming is as much about organization and communication > as it is about coding. > > The secret to great software: Fail early & often. > > Eliminate software piracy: use only FLOSS. > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > > -- since this is a gmail account, please verify the mailing list is included in the reply to addresses -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/