Re: in the elemetns of programming perl , I need help with 2 lines that I don't understand
[email protected] ("Dr.Ruud")
| Newsgroups | perl.beginners |
|---|---|
| Organization | Chaos rules. |
| Message-ID | <[email protected]> |
Richard Lee schreef:
> $pattern = '.*(?:' . join('|', @ARGV) . ')';
Safer:
$pattern = '.*(?:' . join('|', map quotemeta, @ARGV) . ')';
And I would do a qr() on top of that.
--
Affijn, Ruud
"Gewoon is een tijger."