Author: larry
Date: Thu Jan 25 13:50:47 2007
New Revision: 13538
Modified:
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S04.pod
Log:
Obsoleted block initializer syntax.
Mention div and mod.
Modified: doc/trunk/design/syn/S03.pod
===
Author: larry
Date: Thu Jan 25 13:54:46 2007
New Revision: 13539
Modified:
doc/trunk/design/syn/S04.pod
Log:
(forgot to delete example line)
Modified: doc/trunk/design/syn/S04.pod
==
--- doc/trunk/design/syn/S04.pod
When you call map on a multislice, does it do deep or shallow
iteration? I can see uses for both of these:
my @multislice = ([1,2], [3,4, 5]);
my @dims = map :shallow [EMAIL PROTECTED] @multislice; # Want (2, 3)
my @changed_slice = map :deep {2 * $_ + 1} @multislice; # Want ([3, 5],
[7, 9, 11