Hello all,
I am trying to return two arrays from a function. My code is as follows:
(@array1, @array2) = function();
sub function(){
@temp1();
@temp2();
some code here..
return (@temp1, @temp2);
}
However this dosent seem to work - @array2 dosent seem to be populated - i am doing something wrong?
thanks for your help
jim
I am trying to return two arrays from a function. My code is as follows:
(@array1, @array2) = function();
sub function(){
@temp1();
@temp2();
some code here..
return (@temp1, @temp2);
}
However this dosent seem to work - @array2 dosent seem to be populated - i am doing something wrong?
thanks for your help
jim