my $large_pattern = join '|', @PatternList;
Simple and just cool! But why not $large_pattern = qx($large_pattern); $large_pattern = qr($large_pattern);?
Update: Fixed annoying typo.
Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re: More than one pattern match using grep on a file
by karlgoethebier
in thread More than one pattern match using grep on a file
by vinoth.ree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |