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


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

Great job there Lotus1.

I'm curious about the use of splice to clear the array in your code, as below:

    splice( @$aref );

I would probably have used the below:

    @$aref = ();

Is splice faster or better in some other way?