Help for this page
$c //= $d;
$c = defined $c ? $c : $d;
$c = $d unless defined $c;
$regex = qr# (\d) (??{ my $c = $1 unless defined $c; ++$c })+ #x;