in reply to Re: Re: Returning a list from a sub
in thread Returning a list from a sub
Also, you might also want to use strict; at the beginning of your program to help catch errors like this in the future.
If that doesn't solve the problem, it might be worth trying some simple debugging tricks, like adding warn statements on subroutine entry and exit and when you are manipulating @List or other variables that are central to what your code is trying to accomplish.
|
|---|