Skip to content

Commit

Permalink
GLR fix 01-07reversing-strings.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
stmuk committed Sep 9, 2015
1 parent 71195f3 commit 50880b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion categories/cookbook/01strings/01-07reversing-strings.pl
Expand Up @@ -18,6 +18,6 @@

# reverse the words in a scalar

say $string.split(" ").reverse;
say $string.split(" ").reverse.join(" ");

# vim: expandtab shiftwidth=4 ft=perl6

0 comments on commit 50880b1

Please sign in to comment.