Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How do I pass a sequence of variable names to a subroutine one at a time?by le (Friar) |
on Oct 06, 2000 at 01:24 UTC ( [id://35485]=note: print w/replies, xml ) | Need Help?? |
If I get your question right, you overwrite the @cand_info
array each time you call the sub. Try this in your for loop: for each of your variables.
In Section
Seekers of Perl Wisdom
|
|