Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Hash of Regex

by almut (Canon)
on Apr 06, 2010 at 22:19 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://833139]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (None)
    As of 2024-04-25 00:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found