(Scalar)
(Int)
$b is a Scalar, and the subroutine attempts to return it. The caller
doesn't receive it; instead it receives the Int that was contained in
the Scalar. This happens specifically when the sub has the Scalar in
a variable and the return expression is a reference to that variable.
If the return expression is "$a.VAR", then the caller receives the Scalar
as expected.
-zefram