in reply to lower case multiple strings
or even($mon, $tue, $wed, $thu, $fri, $sat, $sun) = split " ", lc($_); $alldays = "$mon $tue $wed $thu $fri $sat $sun"; # Edit doh... forgot +to remove lc and () print "$alldays\n";
the way you have it$alldays = lc($_);
but to do multiple I would put them in a hash or array and do something similar to...
or use a for loop... there are many things you can do@days = split (/ /); $alldays = join ' ', map { lc $_ } @days;
- Ant
- Some of my best work - Fish Dinner
|
|---|