note
oiskuu
<p>
Addressing the question of literal matching: note that regex allow you to safely embed variables using \Q and \E, e.g.
<c>
my @pats = map qr/\Q$_\E/, @ARGV;
</c>
The above prepares <tt>@ARGV</tt> as patterns, disabling interpretation of meta-characters.</p>
1067356
1067356