I was wondering if there is a simple one-liner to go the other way around -- i.e. output a number into a string in any base. Thanks,use POSIX; my ($num, $n_unparsed) = POSIX::strtol('42', 13); print "$num\n"; # prints "54"
In reply to Opposite of strtol? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |