in reply to negative modulus test failure

So, there's naff all I can do about it then. At least I know where I stand :)

--
Steve Marvell

Replies are listed 'Best First'.
Re: Re: negative modulus test failure
by adrianh (Chancellor) on Jul 07, 2003 at 10:46 UTC

    You can always wrap your modulus code with no integer

    use integer; print 3 % -10, "\n"; { no integer; print 3 % -10, "\n"; };