Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

RE: RE: Tricks with tr///

by btrott (Parson)
on Feb 23, 2000 at 01:04 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://3883]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-18 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found