in reply to Returning more than two arrays to the subroutine
Your syntax seems to be correct in terms of passing the references back, but it would really help if instead of saying you're getting "some memory errors" if you would be explicit. What errors? Also, if you could simplify the program down to the minimum to demonstrate the problem, it would help as well.
You could also use Data::Dumper to verify the structure of @nodelist within your subroutine.
|
---|