Dominus wrote a treatise that gives you the two functions odd and even which tell you whether a number is even or odd in his list of Infrequently Asked Questions about Perl.
In reply to Re: Check even numbers?
by Corion
in thread Check even numbers?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |