On 14/01/06 00:59, Larry Wall wrote:
That doesn't seem sufficiently general.  I'd rather see some context
that can apply a signature to the head of a list and treat the
"unslurped" part as unmatched.  Maybe a "for" loop could be taught
to supply such a context, or a "when".  Or maybe it's just the result
of embedding a sig inside a rule, or of matching a sig using ~~.

Could the sharp end of a pipe be taught to do this?

I suggested something like this before but Luke pointed out that it
was adding unnecessary DWIMiness. Perhaps this use case could revive the idea:

http://groups.google.com/group/perl.perl6.language/browse_thread/thread/3d403aa8ff6e493e/ac666ce340cf819b

Brad

--
There are two things that will blemish a retainer, these are riches and
honor. But if one remains in strained circumstances he will not be
marred.                         -- Hagakure http://bereft.net/hagakure/

Reply via email to