@datapoint = splice(@values, 0, $x); #### push @datapoint, unpack ("V",$buf) #### push @datapoint, scalar unpack ("V",$buf)