Think about Loose Coupling | |
PerlMonks |
Re^5: Floating point number counting script stuck in a loopby dwu (Monk) |
on Oct 25, 2007 at 08:51 UTC ( [id://647109]=note: print w/replies, xml ) | Need Help?? |
Tinyish (but most on perlmonks can do better than I):
Does the same as the question asks - likely wouldn't have accomplished the aim of the exercise, which was probably to teach you about using == with floats, but well ;) See perlvar for explanation of $_
In Section
Seekers of Perl Wisdom
|
|