"Uri Guttman" <u...@stemsystems.com> writes: > i haven't looked at the previous code but why is that being cleared here > and pushed above? i don't get the purpose of the mod counter either. it > just seems very odd but maybe there is a purpose. i won't delve to find > out.
The mod counter being cleared was just stupidity. I rarely use modulo but I see now the formula just looks for something divisible by 4 with nothing left over. I'm trying now to clean this example up so people can read easier. It will take a while. But one thing I notice right away... and just asking this aside. You mentioned once being an emacs user. I notice when I write arrays qw like suggested... It confuses the syntax highlight in cperl-mode and throws the highlight completely out the window. Emacs is apparently using the quotes as part of how it finds what to highlight. I noticed it long ago, and usually just put the quotes in for that reason. I wondered if you have some elisp in ~/.emacs that clears that up for you? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/