in reply to Re: Text::xSV question - could this be written better?
in thread Text::xSV question - could this be written better?

Exactly! A hash slice, but i would also use an array for the field names:

# untested my @fields = qw( partner kampagne keywordCluster keyword clicks leads orders jaronVerguetung partnerVerguetung profit ); @fields{@fields} = $csvIn->extract(@fields);

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)