Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: change [A-Z] to U, [a-z] to L with one regex?

by jwkrahn (Monsignor)
on Mar 19, 2013 at 21:22 UTC ( #1024391=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #$r =~ tr/[A-Z][a-z]/UUUUUUUUUUUUUUUUUUUUUUUUUULLLLLLLLLLLLLLLLLLLLLLL
    +LLL/;
    eval( '$r =~ tr/[A-Z][a-z]/'.('U' x 26).('L' x 26).'/' );
    
  2. or download this
    $r =~ tr/A-Za-z/UUUUUUUUUUUUUUUUUUUUUUUUUUL/;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2014-07-28 22:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (210 votes), past polls