in reply to Re: sub returning undef
in thread sub returning undef
I have a question on that notion of returning the list by reference. Would that get you into trouble, if the list you were trying to return were in a variable local to the routine doing the returning? In that case, you're providing a reference to something that is about to wink out of existence, right? Or do I misunderstand what you're saying or how it works? (I don't mean to brag, but my ignorance is vast.)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: sub returning undef
by adamk (Chaplain) on May 24, 2004 at 21:54 UTC | |
by melora (Scribe) on May 31, 2004 at 19:48 UTC |
In Section
Seekers of Perl Wisdom