Em Seg, 2009-03-09 às 12:24 -0700, Larry Wall escreveu: > On Mon, Mar 09, 2009 at 02:40:43PM -0300, Daniel Ruoso wrote: > : ... $capture ~~ $signature ...; > : my $args_matched = @($/).elems; > : &code.(|$/); > That API still would not tell the match whether signature must match the > entire capture (what you want for normal binding) or can stop part way > (what you want for map and friends).
if $capture ~~ $signature :partial { $capture = $<remaining>; &code.(|@($/)); } daniel