I have a requirement for splitting in perl. Please have a look in the below example:
"john","David2,mick",25,"12-12-2009","male"
I have to split this record on each comma (,) that isn't inside quotes.
Expected output is:
john
david2mick
25
12-12-2009
male
Could you please help me with this.