in reply to perl/tk listbox

Since this is a place where multiple values are possible (as ichimunki pointed out in (ichimunki) Re: perl/tk listbox), instead of testing for the number of items then deciding if you're dropping them into an array or scalar, why not just put the values into an array then loop through them in either case? Doing that, if only one item were returned, it would be the first element-would it not? Anyone (especially if I am in error in my considerations)?