F
Francois
I have an array ( @array ) which i want to change to a list of values like
this:
my $data = ["0", "", "", "3", "", "", "6", "", "", "9", "", "", "12"];
(The numbers are the values in the array)
The length of the array is dynamic... so it could be (0,3,6,9,12) but also
(2,4,6,8,10,12,14,16)
What is the easiest way to do this?
this:
my $data = ["0", "", "", "3", "", "", "6", "", "", "9", "", "", "12"];
(The numbers are the values in the array)
The length of the array is dynamic... so it could be (0,3,6,9,12) but also
(2,4,6,8,10,12,14,16)
What is the easiest way to do this?