5.47: "fixed" bug with $cb being an array ref