| 1 |
This module grovels in perl's guts to see if a variable really is a number, |
| 2 |
as opposed to a string that just looks like a number, and whether it is an |
| 3 |
integer or not. ie, it can tell the difference between "100", 100, and 100.0. |
| 4 |
|
| 5 |
100 is an integer. |
| 6 |
|
| 7 |
"100" is a string that looks like an integer. |
| 8 |
|
| 9 |
100.0 is numerically equivalent to 100, but it is only accurate to 4 |
| 10 |
significant figures. |
| 11 |
|
| 12 |
To install, do the usual: |
| 13 |
perl Makefile.PL |
| 14 |
make |
| 15 |
make test |
| 16 |
make install |
| 17 |
|
| 18 |
You may use, modify and distribute this code under the terms of either the GNU |
| 19 |
General Public Licence, version 2, or the Artistic Licence. The full text of |
| 20 |
these can be found in the files GPL2.txt and ARTISTIC.txt respectively. |