in reply to pattern match -vs- *ix grep
if (/$pattern/o) { [download]
Dave.
For the past several years, Perl knows the pattern hasn't changed, and will not recompile the regex. (Use -Dr if you're not convinced).