Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by parv (Parson)
on Dec 14, 2006 at 01:33 UTC ( [id://589710]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    say word_reverse( "  one   two three four    " )
    
    ...
        new = word( string , w ) new
      end
      return strip( new , 'T' )
    
  2. or download this
    word_reverse()
    {
    ...
    }
    
    word_reverse "  one   two three four    "
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://589710]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found