Ok I am opening the file and using cvs->getline($io) to get an array ref only problem being I am new to perl and not sure how to use this array ref. Is there any tutorials about array refs? Or would someone like to give me a minor explanation of how perl handles array refs?
my $cols_arrayref = $csv->getline($fh); # get an arrayref
my @cols_array = @$cols_arrayref; # deref the entire array
my $col = $cols_arrayref->[0]; # or deref an element