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

Re: TPR1 post-mortem

Thread Previous | Thread Next
From:
fun_with_perl
Date:
March 11, 2002 12:48
Subject:
Re: TPR1 post-mortem
Message ID:
a6j55d$b5b$1@post.home.lunix
In article <Pine.LNX.3.96.1020311140016.25823A-100000@gentoo>,
	Stephen Turner <sret1@ntlworld.com> writes:
> 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.

Try .$x*111%10 instead

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About