Re: The sperm secret operator: is it new?

Yitzchak Scott-Thoennes <[email protected]> Wed, 14 Mar 2012 16:02:41 -0700
Newsgroups gmane.comp.lang.perl.fun
Message-ID <CAN7g7HWf6soPNPQXgyC=y+Y2VOstp3yUVhtWVL2h4VY4eLp+Fg@mail.gmail.com>
On Wed, Mar 14, 2012 at 3:50 PM, Philippe Bruhat (BooK)
<[email protected]> wrote:
> Frankly, I think this could be considered a bug. Both the left-facing
> and right-facing versions of the inchworm on a stick should work on
> all integers in Perl. Complement two arithmetics demand it! Now, the
> question is, how long has this been broken in Perl? Forever?

I don't consider it a bug.  ~ has to either assume signed or unsigned.

You get a choice by whether you do it under the scope of use integer
(implicit: comma signed) or not.