Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gamache
on Aug 13, 2010
|
parent
|
context
|
favorite
| on:
Strangest language feature
Perl will convert from base 26 to base 10 if you know how to ask:
$ perl -E 'say lc (@a="a".."asdf")' 30530
ralph
on Aug 15, 2010
[–]
Base 26 or 36? Is 'a' 0 or 10? Does 's' overflow to the next column, like 09 in octal?
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: