http://www.perlmonks.org?node_id=1015250


in reply to Re^4: selecting columns from a tab-separated-values file
in thread selecting columns from a tab-separated-values file

Thanks. I started with assigning the empty array but I had a bug somewhere so I stuck the splice in and got it working. I think I forgot the '@' in the first try but put it in with splice. I don't know which is faster but it is only called a handful of times in this approach anyway.

  • Comment on Re^5: selecting columns from a tab-separated-values file