Can someone explain to me why

-l use POSIX;print strtol pop,36

doesn't work? Where does the extra 0 come from?

------------

The shortest one which doesn't use strtol is this one:
  
2002/02/05 05:58:17 - 36 - Daniel Pfeiffer
$_=pop;$d=`echo \$((36#$_))`;print$d

which can be rewritten as this one, three shorter than the winners:

- 30 -
$_=pop;print`echo \$((36#$_))`

But what's going on here? And is it legal?

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

Reply via email to