udat before:
b2
ok (num=1)

^ \$mdat\{cnt\} = -\d-
$udat{cnt} = --
udat after:
ok (num=1)