Actually, POSIX::strtol does not "parse a string representation of a number in any base into a number" but does a "String to (long) integer translation", which is quite different, but in Perl --IMO-- seldom useful.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
In reply to Re: Opposite of strtol?
by CountZero
in thread Opposite of strtol?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |