fixes t/calculator.t, which became broken in recent perls

This commit fixes https://rt.cpan.org/Ticket/Display.html?id=91586.
ready for 0.47