!perl -n $n+=(/\d/?$_:-55+ord)*36**$i++for reverse/./g;print$n
This solution assumes the number is coming at it via STDIN. Standard FWP golf scoring shows a score of 57.
--Dave
In reply to Re: The Perl Review
by redsquirrel
in thread The Perl Review
by Kit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |