Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: map and grep or clear code?

by ikegami (Patriarch)
on Jan 31, 2012 at 10:13 UTC ( [id://950925]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %filter_map = ( ... );
    
    ...
    }
    
    say $filter;
    
  2. or download this
    my %map = ( ... );
    $map{$_} = $_ for 0..9;
    ...
    }
    
    say $numeric;
    
  3. or download this
    my %map = ( ... );
    $map{$_} = $_ for 0..9;
    ...
          split //, uc($word);
    
    say $numeric;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-19 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found