$ perl -wMstrict -Mbignum -le 'print int(0.6505 / 0.0001)' 6505 # Or, limit the scope of the pragma: $ perl -wMstrict -le 'print do { use bignum; int(0.6505 / 0.0001) }' 6505