5 integer - Perl pragma to compute arithmetic in integer instead of double
11 # $x is now 3, not 3.33333333333333333
15 This tells the compiler to use integer operations
16 from here to the end of the enclosing BLOCK. On many machines,
17 this doesn't matter a great deal for most computations, but on those
18 without floating point hardware, it can make a big difference.
20 Note that this affects the operations, not the numbers. If you run this
28 you'll be left with C<$x == 1.5>, C<$y == 2> and C<$z == -1>. The $z
29 case happens because unary C<-> counts as an operation.
31 See L<perlmod/Pragmatic Modules>.