in reply to Re^2: Numeric overloading with 64-bit Perl
in thread Numeric overloading with 64-bit Perl
I suggested placing it at the top of the example program because the example program had only one purpose - to show where float conversion took place for 16 digits. This should not be construed as a recommendation to always place it at the top of every program.
Re your subsequent objection to the block scope nature of use integer, I can't conceive of any actual case where the use of
wherever the pragma is actually required, can fail to control the scope - curly brackets can be applied anywhere you like!{ use integer;" # statements where the pragma is required # ... "}"
-M
Free your mind
|
|---|