Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by oiskuu (Hermit)
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067373]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2017-08-21 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (317 votes). Check out past polls.

    Notices?