"be consistent" | |
PerlMonks |
Re: Re: foreach loopsby Hofmator (Curate) |
on May 27, 2002 at 14:02 UTC ( [id://169581]=note: print w/replies, xml ) | Need Help?? |
Your code is overwriting the contents of an already existing array, I wouldn't call that initialising ... Putting that aside, an array slice is a good way to do that task without using a loop.
-- Hofmator
In Section
Tutorials
|
|