in reply to Re: Re: CSV file
in thread CSV file

If you always have the same amount of fields, you might get away with:

my $regex = join ', ', ('".*?"') x 5; $regex = qr/$regex\n/s; while (my @fields = $data =~ /\G$regex/g) { ... }
(untested as usual)

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }