in reply to data parsing
Just My try,
Note: This below code does not work if the words contain comma's inbetween.
use strict; my @array; while (<DATA>) { chomp; s,",,g; push @array , [ split/[:,]\s?/]; } __DATA__ COLUMN_A: "Y","N" COLUMN_B: COLUMN_C: "something", "something else", "and more"
Murugesan
|
|---|