On Fri, 8 Mar 2002, Stephen Turner wrote:
>
> $x*1.11%10                (~Jukka-50, Rick-51, Ton-52)

I've just discovered that this construction doesn't work inside an eval! The
reason is that 08 and 09 become invalid octal numbers in that context.

If anyone was wondering why I was doing such an odd thing, I was trying to
see how much I could shorten this sort of idea:
print$_=pop,$/;s/./$&>9)+$&).($&-9*($&+/g;/\(.*\)/&&exec$

-- 
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