go ahead... be a heretic | |
PerlMonks |
Re^5: Merge 2 strings like a zip [unzip()]by tel2 (Pilgrim) |
on Jul 10, 2015 at 00:39 UTC ( [id://1134066]=note: print w/replies, xml ) | Need Help?? |
Thanks for that explanation, Ken.
I was aware of what "print for..." does (though I didn't realise some of the finer points you've mentioned), but I asked because I thought your code also worked without the 'for'. I now notice that the output without the 'for' has no newline between the returned arguments, i.e.: All that makes sense now though (I think), thanks. Sorry I wasn't clearer with my last question.
In Section
Seekers of Perl Wisdom
|
|