http://qs1969.pair.com?node_id=35477


in reply to How do I pass a sequence of variable names to a subroutine one at a time?

Try this:
push @cand_info, &get_cand_info($var);
for each variable.

Originally posted as a Categorized Answer.