+^ is a bitwise negation operator with twoβs complement.
my $x = 10; my $y = +^$x; say $y; # -11 (but not -10)
Compare this operator with the following one.
Science, Programming, Electronics, Languages
N. B. Perl 6 has been renamed to Raku. Click to read more.
+^ is a bitwise negation operator with twoβs complement.
my $x = 10; my $y = +^$x; say $y; # -11 (but not -10)
Compare this operator with the following one.