"The @data that you get from Text::CSV::Simple
is an array of array references. That means that each item in the array is itself a reference to an array composed of three fields. That means you need to derefernce it..."
This is need to know information that isn't made that clear in the module docs. I've annotated the CPAN module with a paraphrase of your explanation.
I have been butting my head for a few minutes trying to get some code using this module to work. Update: this reply was intended for jZed
, I fat fingered the post.