in reply to Re: Simple query regarding unpack/splice
in thread Simple query regarding unpack/splice

Indeed, it was evident that it was not iterating over @datapoint, so replacing @datapoint with $datapoint[$i] or push @datapoint, yielded a working script. My sincere thanks for your suggestions regarding this matter moritz.