start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.88 I18N::Collate Chapter 8
Standard Modules
Next: 8.90 IO
 

8.89 integer

Pragma that tells the compiler to use integer operations from here to the end of the enclosing block. Improves processing time on systems without floating-point hardware support.

use integer;  $x = 10/3;   # $x is now 3, not 3.33333333333333333
Use the no integer directive to turn off integer inside an inner block.


Previous: 8.88 I18N::Collate Perl in a Nutshell Next: 8.90 IO
8.88 I18N::Collate Book Index 8.90 IO