Reverse words in a string: Difference between revisions

→‎{{header|Perl 6}}: explicit stringification to avoid printing parenthesis
m (Broke apart a long (multi-sentence) paragraph into simpler/separate declaratives, added whitespace for readability, showed the task's requirement as a separate paragraph.)
(→‎{{header|Perl 6}}: explicit stringification to avoid printing parenthesis)
Line 1,324:
=={{header|Perl 6}}==
We'll read input from stdin
<lang perl6>say ~.words.reverse for lines</lang>
{{out}}
<pre>------------ Fire and Ice ----------
Line 1,336:
 
----------------------- Robert Frost</pre>
 
=={{header|PicoLisp}}==
<lang PicoLisp>
1,934

edits