Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: uppercase/lowercase in a single expression

by mickeyn (Priest)
on Sep 07, 2006 at 07:23 UTC ( #571626=note: print w/ replies, xml ) Need Help??


in reply to uppercase/lowercase in a single expression

You can also try this:

use Tie::File; tie @array, 'Tie::File', "./text_file"; foreach (@array){ tr/[a-zA-Z]/[A-Za-z]/; } untie @array;
Enjoy,
Mickey


Comment on Re: uppercase/lowercase in a single expression
Download Code
Re^2: uppercase/lowercase in a single expression
by monarch (Priest) on Sep 07, 2006 at 08:38 UTC
    .. but I really wouldn't.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-07-07 07:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls