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

Re: Hash of Regex

by zwon (Abbot)
on Apr 06, 2010 at 21:59 UTC ( #833135=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
              'int' => 'float',
              'brown' => 'yellow'
            };
    
  2. or download this
    my %dict = (
        'brown'      => 'yellow',
        qr/int(\d+)/   => 'int',
        qr/float(\d+)/ => 'float',
    );
    
  3. or download this
    use strict;
    
    ...
    }
    
    print "$test\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://833135]
help
Chatterbox?
[choroba]: "data dumber" is a nice typo, btw
hippo ponders Acme::Data::Dumber for CPAN day.

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2017-04-27 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (501 votes). Check out past polls.