my $regex = join "|", @drop;
mizducky: This technique has some gotchas associated with it. For a very good general discussion of the (update: very useful!) technique, see haukex's Building Regex Alternations Dynamically article.
Give a man a fish: <%-{-{-{-<
In reply to Re^4: The error says the value is uninitialized, but it works anyway
by AnomalousMonk
in thread The error says the value is uninitialized, but it works anyway
by mizducky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |