Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: What would you do?by bjelli (Pilgrim) |
on Mar 16, 2001 at 18:56 UTC ( [id://64934]=note: print w/replies, xml ) | Need Help?? |
doubling a number seems simpler than doing the modulo, thus:
of course you could do away with the extra variable "$double". loose the variable, insert another line of comment to explain what happens. same difference. -- Brigitte 'I never met a chocolate I didnt like' Jellinek http://www.horus.com/~bjelli/ http://perlwelt.horus.at
In Section
Seekers of Perl Wisdom
|
|