my $cap_name = qq{\$trigger_captures_for_${name}};
$self->{captures}->{$cap_name} = \$captures;
return "do {\n".' '.$at_."\n"
- .Sub::Quote::capture_unroll($cap_name, $captures, 6)
- ." ${code}\n }";
+ .Sub::Quote::capture_unroll($cap_name, $captures, 6)
+ ." ${code}\n }";
}
return 'do { local @_ = ('.join(', ', $obj, $value).'); '.$code.' }';
}
'',
map {
/^([\@\%\$])/
- or die "capture key should start with \@, \% or \$: $_";
+ or die "capture key should start with \@, \% or \$: $_";
(' ' x $indent).qq{my ${_} = ${1}{${from}->{${\perlstring $_}}};\n};
} keys %$captures
);