Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: comparing columns using regular expression

by thezip (Vicar)
on Jan 19, 2011 at 04:15 UTC ( #883053=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    if (exists($hash{$searchkey})) {
      print qq(searchkey "$searchkey" exists in the hash...\n);
    }
    
  2. or download this
    __OUTPUT__
    $VAR1 = [
    ...
              '12345'
            ];
    searchkey "CA12DE" exists in the hash...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-09-03 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls