my int @a is shape(Int ; Int) = (1..10 ; 2..100 :by(2) ; 4);
$x = pop @a
push @a, $x;
@b = sort @a;
# etc
I see two views to take with these cases.
1) flatten the array to one dimension, and act accordingly.
or
2) assume
my int @a is shape(Int ; Int);
my @a is Array of Array of int;
Mean exactly
On Tue, Mar 15, 2005 at 02:22:13AM -0600, Rod Adams wrote:
:
: my int @a is shape(Int ; Int) = (1..10 ; 2..100 :by(2) ; 4);
:
: $x = pop @a
: push @a, $x;
: @b = sort @a;
: # etc
:
: I see two views to take with these cases.
:
: 1) flatten the array to one dimension, and act accordingly.
:
: o