http://www.perlmonks.org?node_id=755432


in reply to Smalltalk - Re: Five Ways to Reverse a String of Words (C#, Perl 5, Perl 6, Ruby, Haskell)
in thread Five Ways to Reverse a String of Words (C#, Perl 5, Perl 6, Ruby, Haskell)

That utterly fails the requirement, which is to take a string like "one two three four" and return a string like "four three two one".

  • Comment on Re: Smalltalk - Re: Five Ways to Reverse a String of Words (C#, Perl 5, Perl 6, Ruby, Haskell)
  • Select or Download Code