Oh, jeez... yes.
I am not sure how I introduced that error: it was @s in an earlier verison I was working on.
And now that I look at that earlier version: it failed because I had "$basis_checker => sub" instead of "$basis_checker = sub".
I spotted that mistake and apparently introduced a new one at the same time. (facepalm)
Thanks!