|
|
| more useful options | |
| PerlMonks |
Re: Re: Short (and clever?) CSV-to-AoAby scott (Chaplain) |
| on Apr 23, 2001 at 20:21 UTC ( [id://74859]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
1. You assign to an array in a for loop. That usually is a sign for something inefficient. It seemed more 'cool' to me than inefficient. I particularly liked the fact that I could get away with only one synthetic variable and that a loop counter (of sorts). Why is it inefficient? 2. Your use of $#i will put all data in one array, so you technically don't have an AoA, but just an array. Errr ... but it *does* produce an AoA. Gives
3. You can loose the push/pop mechanism ... See my comment to merlyn.
In Section
Meditations
|
|
||||||||||||||||||||||||||||