Hi,
I like to program a transaction counter. To prevent integer overflow I added a little test on the maximum number the counter may have before it restarts.
My remaining question now: To keep the code portable: how can I retrieve the system's maximum representable integer in perl? Or do I have to make a 'save' assumption (not a very elegant solution)?
Any CPAN module available?
Thank you in advance.
MartellIn reply to Integer overflow question by martell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |