Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: uppercase/lowercase in a single expression

by mickeyn (Priest)
on Sep 07, 2006 at 07:23 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://571626]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-03-19 04:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found