Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Hash of Regex

by almut (Canon)
on Apr 06, 2010 at 22:19 UTC ( #833139=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $VAR1 = {
              'int' => 'float',
              'brown' => 'yellow'
            };
    
  2. or download this
    my %dict = ( 'brown'      => 'yellow',
                 /int(\d+)/   => 'int',
                 /float(\d+)/ => 'float',
               );
    
  3. or download this
    my %dict = ( 'brown'      => 'yellow',
                 $_ =~ /int(\d+)/   => 'int',
                 $_ =~ /float(\d+)/ => 'float',
               );
    
  4. or download this
    my %dict = ( 'brown'      => 'yellow',
                 () => 'int',
                 () => 'float',
               );
    
  5. or download this
    my %dict = ( 'brown'      => 'yellow',
                 'int' => 'float',
               );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2014-08-29 20:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (287 votes), past polls