On Tuesday, 6. January 2009 22:01:36 Jon Lang wrote:
> item($x) # Dwimmey use of item context.
IIRC this is the same as $$x, right? Or does that
extract the invocant slot without dwimmery?
> list($x) # Dwimmey use of list context.
> hash($x) # Dwimmey use of hash context.
> $x._ # the Capture object's invocant, as an item.
How about $x.() here? That looks symmetric to the other
postfix operators and should be regarded as a method
dispatched on the invocant or some such.
> $x.[] # the Capture object's positional parameters, as a list.
> $x.{} # the Capture object's named parameters, as a hash.
Regards, TSa.
--
"The unavoidable price of reliability is simplicity" -- C.A.R. Hoare
"Simplicity does not precede complexity, but follows it." -- A.J. Perlis
1 + 2 + 3 + 4 + ... = -1/12 -- Srinivasa Ramanujan