in reply to Passing Along Arrays

Hi Perl_Ally, the code you posted is unsufficient for us to help you. You have two subs, none of which calls the other and there is no "main" code to call either of the subs. And the subs are not working on the same data. There is no way we can test, or understand, or fix, the code you presented. Please give more of the context. Please p^rovide a full program (even faulty).

Replies are listed 'Best First'.
Re^2: Passing Along Arrays
by Perl_Ally (Novice) on Aug 27, 2014 at 13:35 UTC

    While I appreciate that a full program would be preferable, I do not see why it should be necessary to have the entire program to educate someone on how to correctly pass an array or array reference through multiple structures.

    As I work in a professional environment, I can only share snippets of code and I have to "wash" them to some extent before sharing. I appreciate that this makes assistance a more difficult task.