use v6.d;
use Test;
plan 1;

$_ = "(foo,bar,(baz))"; 
$_.=subst( /<-[(),]>+/, { "'$/'" }, :g ); 

ok $_ eq "('foo','bar',('baz'))", "RT #67222 check the value of \$/ in closures in the second argument of .=subst calls";
