Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 meditating upon the Monastery: (6)
As of 2014-12-28 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (182 votes), past polls