We don't bite newbies here... much | |
PerlMonks |
Re^6: loop surpriseby morgon (Priest) |
on Apr 03, 2018 at 20:50 UTC ( [id://1212290]=note: print w/replies, xml ) | Need Help?? |
Maybe it is a code smell... But what I was trying to do is to find the smallest number in a certain range satisfying some condition and then go on using that found value. Doing it like Looked (at the time) to be a straightforward solution and I was suprised that it did not work. This is just for explaining where this comes from (I am not a really good programmer I am afraid...) And even accepting that this is not the way to do it (there are of course many other ways), it is neverthless surprising that this actually does work: This is to my eyes at least an inconsistency (and thus a wart). But whatever, this is how it was, is and will be...
In Section
Seekers of Perl Wisdom
|
|