Syntactic Confectionery Delight | |
PerlMonks |
Re: strings with multiple parametersby davido (Cardinal) |
on Nov 07, 2011 at 16:29 UTC ( [id://936534]=note: print w/replies, xml ) | Need Help?? |
$strings = join '', @ARGV
See perldoc -f join. Update: On second read of your original question I noticed that your code snippet may not have been illustrating what you actually intended to do. Maybe you wanted to retain the strings as separate scalar units:
But if that's what you need, what's wrong with keeping them in the original array, or assigning them to a new array? Dave
In Section
Seekers of Perl Wisdom
|
|