Perl's lack of 'in' keyword
Peter Corlett
abuse at cabal.org.uk
Wed Oct 8 16:25:05 BST 2008
On 8 Oct 2008, at 16:12, James Laver wrote:
[...]
> I also seem to recall the 'inchworm on a stick', '~-'. I had to
> google to
> find out what it does, but it seems to be a high precedence
> decrement[1]
It's a rather sneaky trick based on how two's complement works.
Come steal my copy of "Hacker's Delight" sometime. It's chock full of
sneaky number tricks like this.
More information about the london.pm
mailing list