I am having trouble returning multiple arrays from sub. I am returning arrays like this: return (@allhosts,@allips); and calling sub like this:
my (@data , @allips) = getfarmdetails($farmid,$name);
However it seems that first array has everything, am I not doing this right ?
my (@data , @allips) = getfarmdetails($farmid,$name);
However it seems that first array has everything, am I not doing this right ?