Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 exploiting the Monastery: (8)
As of 2015-07-29 07:26 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 (260 votes), past polls