Now that is interesting…
>perl -MO=Deparse -e "$a if $b %% 5 == 0" $a if $b % %5 == 0; -e syntax OK
So %5 is some sort of hash!?
From perlvarPerl variable names may also be a sequence of digits or a single punctuation or control character. These names are all reserved for special uses by Perl; for example, the all-digits names are used to hold data captured by backreferences after a regular expression match.
So the scalar variant of those digit vars are well-known, but the hash variant is "reserved" and serves no special purpose by now.
In reply to Re: Modulus by zero?
by pKai
in thread Modulus by zero?
by Andrew_Levenson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |