September 2017
Beginner
402 pages
9h 52m
English
The +^ operator does the two-complement binary negation of the operand, which is converted to an integer value first, as shown in the following code:
say +^42; # -43my $neg = -42;say +^$neg; # 41say +^0; # -1say +^-1; # 0
Read now
Unlock full access