Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 avoiding work at the Monastery: (7)
As of 2014-12-27 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls