in reply to
This may be more of a math question
Note also that ^ is XOR in perl, not exponentiation (which would be ** ).
Comment on
Re: This may be more of a math question
In Section
Seekers of Perl Wisdom