# $smatch was created by a previous call to dispatcher my $embed = dispatcher( ['ok'] => sub { $smatch->($_) } ); is($embed->('ok'), 'resumed and matched', 'embedded smatch');