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

Re^2: Hash of Regex

by Anonymous Monk
on Apr 06, 2010 at 22:46 UTC ( #833144=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %dict = (
        'brown'      => 'yellow',
        qr/int(\d+)/   => 'int',
        qr/float(\d+)/ => 'float',
    );
    
  2. or download this
    $VAR1 = {
              '(?-xism:int(\\d+))' => 'int',
              'brown' => 'yellow',
              '(?-xism:float(\\d+))' => 'float'
            };
    
  3. or download this
    my %dict = (
        'brown'      => 'yellow',
        'int\(\d+\)'   => 'int',
        'float\(\d+\)' => 'float',
    );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (19)
As of 2014-09-23 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (234 votes), past polls