Don't ask to ask, just ask | |
PerlMonks |
Re: using two arrays to make a tableby LanceDeeply (Chaplain) |
on Jun 18, 2002 at 19:06 UTC ( [id://175463]=note: print w/replies, xml ) | Need Help?? |
hi bongo- alot of the monks already suggested good ways to do this. but, if you're still wondering what's going on in your code, the shift operator removes elements from @name. that means the second time through the loop, @name is empty. and nothing is printed.
In Section
Seekers of Perl Wisdom
|
|