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.
The above prepares @ARGV as patterns, disabling interpretation of meta-characters.my @pats = map qr/\Q$_\E/, @ARGV;
|
---|
In Section
Seekers of Perl Wisdom