Let’s say you have an array with two entries using split
$t1 = "ab";
@a = split((//, $t1)
= ["a", "b"]
And you want to tack on a new text to make an array of arrays from the original array:
$t2 = "cd";
@a ???= split((//, $t2)
= [["a", "b"], ["c", "d"]]
How do you do this with the split command, please?
$t1 = "ab";
@a = split((//, $t1)
= ["a", "b"]
And you want to tack on a new text to make an array of arrays from the original array:
$t2 = "cd";
@a ???= split((//, $t2)
= [["a", "b"], ["c", "d"]]
How do you do this with the split command, please?

