note
particle
<p>++! another neat-o trick from a master of xml</p>
<p>one little thing: you might consider inverting the logic in your pattern match. i think it helps readability and maintainability a bit.</p>
<code>
## turn (unless id contains one or more digits only)
return qq(bad id "$id"\n) unless $id =~ /^\d+$/;
## into (if id contains non-digits)
return qq(bad id "$id"\n) if $id =~ /\D/;
</code>
<P>~Particle *<em>accelerates</em>*
<!-- a handy place to keep tags
<code>
.
</code>
<blockquote><em>.</em></blockquote>
<strong>.</strong>
<ul>
<li>.</li>
<li>.</li>
</ul>
-->
220406
220406