D
Dr.Ruud
John W. Krahn:
Nice. But it acts weirdly on bad input:
$ perl -MPOSIX -le 'print strtoul "ZZ _", 36'
129514
$ perl -MPOSIX -le 'print strtoul "ZZ_________", 36'
12959
$ perl -MPOSIX -le'print strtoul "ZZ", 36'
12950
Nice. But it acts weirdly on bad input:
$ perl -MPOSIX -le 'print strtoul "ZZ _", 36'
129514
$ perl -MPOSIX -le 'print strtoul "ZZ_________", 36'
12959