in reply to Re: concatenating arrays
in thread concatenating arrays
push will take an array and a list, push the list onto the end of the array, and return the new number of elements.# If initializing, this is clearer. my @c = (@a, @b); # .. or ... (now, more correct) my @c; push @c, @a, @b;
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
|---|