Hi I have have function which returns a reference to an array like so:
sub get_values{
.
.
.
return(\@array)
}
I copy this into another array :
@my_val = &get_values(...);
The Dumper output of this is something like:
$VAR1 = [ '1','2',...]
Now I need to combine 2 of these, but when I do
@combined = (@my_val,@my_val_2);
I get
$VAR1 = [ '1','2',...]
$VAR2 = [ '11','22',...]
I need it to combine in one element like:
$VAR1 = [ '1','2',...,'11','22',...]
How can I do this?