yitzle wrote: > What's the best way to apply a RegEx to an array? For loop? > @arr = qw/dc2ds reew12dsfa df2fdw/; > s/$find/$replace/ for(@arr);
Yes, although the parentheses are redundant. John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/