Jonathan Lang wrote:
> Arguably "list" should be non-committal and we give
> @() a different name like "flat", but that grates in my brain for
> some reason, if only because most list contexts would in the end
> be flat anyway. And "list" in English already implies something
> flatter than, say,
Larry Wall wrote:
: * In item context, a list of captures becomes a single Array object,
: and the question about whether or not it gets flattened gets deferred
: until its contents get looked at in list, slice, or hash context.
That's the intent. $() used to assume @@ inside till this latest
c
On Sun, Jun 03, 2007 at 10:23:44PM -0700, Jonathan Lang wrote:
: Let me see if I understand this correctly:
:
: * In list context, a list of captures gets flattened.
Yes.
: * In slice context (a variant of list context), a list of captures
: doesn't get flattened.
More than that, the captures g
[EMAIL PROTECTED] wrote:
Author: larry
Date: Sun Jun 3 17:23:15 2007
New Revision: 14415
Modified:
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S04.pod
doc/trunk/design/syn/S06.pod
Log:
typo from Aaron Crane++
s/cat/list/ for flattening captures in order
cat() now only produces p
Author: larry
Date: Sun Jun 3 17:23:15 2007
New Revision: 14415
Modified:
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S04.pod
doc/trunk/design/syn/S06.pod
Log:
typo from Aaron Crane++
s/cat/list/ for flattening captures in order
cat() now only produces pseudo-strings even in list