-β- is a prefix form of decrement. It works exactly like the ++ prefix but, of course, makes the operand smaller (whether it be a string or a number).
my $x = 42; say --$x; # 41
Science, Programming, Electronics, Languages
N. B. Perl 6 has been renamed to Raku. Click to read more.
-β- is a prefix form of decrement. It works exactly like the ++ prefix but, of course, makes the operand smaller (whether it be a string or a number).
my $x = 42; say --$x; # 41