XP is just a number | |
PerlMonks |
Re^3: Generate list with array elements repeated x timesby toolic (Bishop) |
on Oct 16, 2014 at 20:59 UTC ( [id://1104113]=note: print w/replies, xml ) | Need Help?? |
You're welcome. I was wondering if there was a way to get rid of your pop/shift, and it turns out you could use splice instead. You determine if this is too clever or not:
In Section
Seekers of Perl Wisdom
|
|