in reply to Re: How to Print Every Other Line
in thread How to Print Every Other Line
"The "remainder" is the modulus of X / 2. And the modulus function is named %. So $x % 2 will be zero for even numbers, and some value for odd numbers."
Some value should be one, right? (well, anyway, non-zero is true, so I'm nitpicking.)
Some value should be one, right? (well, anyway, non-zero is true, so I'm nitpicking.)
In Section
Seekers of Perl Wisdom