RE: [tcltk-perl] return of 1=>1.0 transformation error
Brought to you by:
hobbs
From: Konovalov, V. <vko...@sp...> - 2004-04-28 17:30:16
|
> There are no integer literals in Perl. All numbers and arithmetics > are/are done with doubles. If you want to force integers you need to > declare that intention with the 'use integer' pragma. perl might try > to use integers when it can get away with it and newer version are > more aggressively doing so, but there are no guarantees. 'use integer;' will probably bring problems with having this pragma turned on/off when user do not expect it to be changed somehow. Much better to early stringification early. Vadim. |