in reply to Re: Using regex in Map function
in thread Using regex in Map function
In addition to what jdporter is saying, I'd like to add that this is probably faster and clearer:
@new = <TEST>; s/something/something/ for @new;
I haven't Benchmarked it or anything, but I'm pretty sure it's faster than map {s/regex/stuff/} — either way, it's probably more readable.
-Paul
|
|---|