in reply to Re^3: Parsing CSV file
in thread Parsing CSV file

Using $1 // $2 smells like you can use the Branch Reset pattern (5.10+), which restarts the capture group numbering on each | :

while ($line =~ m/(?|"([^"\\]*(?:\\.[^"\\]*)*)",?|([^,]+),?|,)/g) { print $1 // q(), "\n"; }

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,