|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^3: Perl 5.10: switch statement demoby talexb (Canon) |
| on Dec 20, 2007 at 16:26 UTC ( #658155=note: print w/ replies, xml ) | Need Help?? |
|
The modulo construct can also be thought of as 'divisible by' -- so $foo % 3 checks to see if $foo is divisible by 3. Or at least that's the way my brain works.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||