in reply to Re^2: Return Array from Subroutine
in thread Return Array from Subroutine

Since you did not provide your input file, we can not run your code to reproduce your results. You will have to resort to debugging your code on your own.