Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

RE: RE: Tricks with tr///

by btrott (Parson)
on Feb 23, 2000 at 01:04 UTC ( #3883=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # to squish a string
    y sssscccc;
    
  2. or download this
    $_ = "bookkeeper";
    y sssscccc;
    print;
    
  3. or download this
    tr///scccc;
    
  4. or download this
    tr///sc;
    
  5. or download this
    If the /s modifier is specified, sequences of characters
    that were transliterated to the same character are
    squashed down to a single instance of the character.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2014-10-25 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (139 votes), past polls