Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: uc() every other letter

by davorg (Chancellor)
on Sep 28, 2001 at 13:38 UTC ( [id://115350]=note: print w/replies, xml ) Need Help??


in reply to uc() every other letter

my @alpha = ('a' .. 'z'); @alpha = map { $_ % 2 ? uc $alpha[$_] : $alpha[$_] } 0..25;
--
<http://www.dave.org.uk>

"The first rule of Perl club is you don't talk about Perl club."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-29 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found