in reply to Re: Shifting of 2D array slices
in thread Shifting of 2D array slices
@bigarray = map [ map split( /\*/ ), @$_ ], @bigarray;The second map is not neccessary. The return value of map can be a list, so
will do fine, too.@bigarray = map [ split /\*/ ], @bigarray;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Shifting of 2D array slices
by kyle (Abbot) on Dec 07, 2008 at 03:37 UTC |