push (@value , $result[3]); push (@array, [@value]); # Important to empty the array for the next file! @array = ();