Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: lower case multiple strings

by lemming (Priest)
on Sep 27, 2001 at 23:51 UTC ( #115226=note: print w/ replies, xml ) Need Help??


in reply to lower case multiple strings

Why don't you just lowercase $_?

lc; ($mon, $tue, $wed, $thu, $fri, $sat, $sun) = split (/ /); #if you stil +l need this
mon-sun will all be lowercased, if you still want to you can just have $alldays = lc;. That is if your intent is to have the original string lowercased.


Comment on Re: lower case multiple strings
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-08-02 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (55 votes), past polls