yitzle schreef:
> What's the best way to apply a RegEx to an array? For loop?
> @arr = qw/dc2ds reew12dsfa df2fdw/;
> s/$find/$replace/ for(@arr);


Consider:

  s/\Q$find/$replace/ for(@arr);

-- 
Affijn, Ruud

"Gewoon is een tijger."

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to