use bigrat; $i = 2; print("i: ", ref($i), "\n"); ($j) = ($i .. $i); print("j: ", ref($j), "\n");