Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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;

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://571626]
[1nickt]: chacham I have wanted to, and dones so, and so stated in a reply, and been roundly downvoted 2-1. (I assume for attempting to censor.)
[1nickt]: pryrt yes, I see. There is no way to differentiate without forcing to a string and all sort of weird stuff. It is enough. User 42 can get creative if s/he wishes.
[chacham]: i sent him a private message expressing my displeasure.
[1nickt]: chacham It was worse than 2-1 ! almost 4-1 !
[jdporter]: Dang. No good example of how to use IPC::Run's run() in its simplest mode?
[LanX]: him or her! ;)

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (17)
As of 2017-05-24 20:52 GMT
Find Nodes?
    Voting Booth?