I'm having trouble parsing array values from one custom module to another.
In my custom module1package, I have the following -
use Dbsql::module2package;
my @addresses=Dbsql::module2package::sub_name($variable_1,$variable_2);
In my custom module2package, I have the following -
return @addresses;
I have tested module2package and @addresses at this point contains two values (e.g Hello, Goodbye)
but @addresses in module1package only contains the number 2 (which I assume is refering to the number of items stored). Why aren't the values being parsed?
I'm sure this is a very small problem with a simple solution that I am overlooking.
Can anyone help me out?
Thank you.
In my custom module1package, I have the following -
use Dbsql::module2package;
my @addresses=Dbsql::module2package::sub_name($variable_1,$variable_2);
In my custom module2package, I have the following -
return @addresses;
I have tested module2package and @addresses at this point contains two values (e.g Hello, Goodbye)
but @addresses in module1package only contains the number 2 (which I assume is refering to the number of items stored). Why aren't the values being parsed?
I'm sure this is a very small problem with a simple solution that I am overlooking.
Can anyone help me out?
Thank you.