in reply to how could I use map here?
@array2 = @array1; s/^CHOP_ME_OFF_// for @array2;
Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.
M-J D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: how could I use map here?
by ihb (Deacon) on Feb 10, 2003 at 03:26 UTC |