note
Elgon
<p>[Random_Walk],
<p>A minor nit. If I've understood the code correctly, you've used a substitution...
<p><code>$days = s/+//;</code>
<p>...where a transliteration would be "better"...
<p><code>$days = tr/+//d; # Note transobliteration modifier</code>
<p>...and a lot faster (not that this is really an issue in this case.)Unless you wanted to allow only a leading + in which case...
<p><code>$days = s/^+//;</code>
<p>[Elgon]
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-37222">
<p><p><em>It is better wither to be silent, or to say things of more value than silence. Sooner throw a pearl at hazard than an idle or useless word; and do not say a little in many words, but a great deal in a few. </em>
<p>Pythagoras (582 BC - 507 BC)
</div></div>
397367
397379