in reply to Applying regex to array
Like that? (ignore all this - I'm dozy. See below)@fields = qw/this that the_other/; @fields = grep { s/t/j/ } @fields; print join(" ",@fields);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Applying regex to array
by davorg (Chancellor) on Nov 24, 2004 at 10:45 UTC |