http://www.perlmonks.org?node_id=11104661


in reply to Re^3: The error says the value is uninitialized, but it works anyway
in thread The error says the value is uninitialized, but it works anyway

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:  <%-{-{-{-<