develooper Front page | perl.fwp | Postings from March 2002

Re: TPR1 post-mortem

Thread Previous | Thread Next
Stephen Turner
March 11, 2002 06:04
Re: TPR1 post-mortem
Message ID:
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:

Stephen Turner, Cambridge, UK
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About