Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Problems with map(function, array)

by tobyink (Abbot)
on Dec 10, 2012 at 22:41 UTC ( #1008177=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @caps = map uc, @lower;
    
  2. or download this
    sub my_uc (_) {  # note underscore in parentheses
      my $c = shift;
      return uc($c);
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-10-02 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (49 votes), past polls