On 02/17/2017 07:44 PM, yary wrote:
Oh, then chain join on the end:

my $StringReversedLines = $StringFullOfLineFeeds.lines.reverse.join("\n")

or

my $StringReversedLines = $StringFullOfLineFeeds.split("\n",:v).reverse.join
**//___^


Hmmm.  I wanted to recreate the array, not reverse the line.



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to