Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Need Speed:Search Tab-delimited File for pairs of names

by oiskuu (Pilgrim)
on Dec 16, 2013 at 21:49 UTC ( #1067373=note: print w/ replies, xml ) Need Help??


in reply to Need Speed:Search Tab-delimited File for pairs of names

Addressing the question of literal matching: note that regex allow you to safely embed variables using \Q and \E, e.g.

my @pats = map qr/\Q$_\E/, @ARGV;
The above prepares @ARGV as patterns, disabling interpretation of meta-characters.


Comment on Re: Need Speed:Search Tab-delimited File for pairs of names
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2014-09-23 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (210 votes), past polls