Perl: the Markov chain saw | |
PerlMonks |
Re^4: Merge 2 strings like a zip [unzip()]by kcott (Archbishop) |
on Jul 09, 2015 at 14:18 UTC ( [id://1133969]=note: print w/replies, xml ) | Need Help?? |
You're welcome. Regarding the for statement modifier, I think ++hexcoder has covered most of this in his response. That's a fairly common Perl idiom that you're likely to see a lot. In fact, my usage wasn't the first in this thread: BrowserUk's zip() code has '... for split '', $b;'. There's a bit more going on behind the scenes.
is equivalent to
-- Ken
In Section
Seekers of Perl Wisdom
|
|