in reply to Regular expression for combination of data
my @list = split m/,/, $CD;
Then your processing might be easier...
Perl 6 in German