all

A thing of beauty it is…

<p> I&#39;ve spent about the last three weeks converting much of the infrastructure code for AnteSpam to use AnyEvent.</p> <p> One of the small bits of fallout from using AnyEvent is that we now have a large number of anonymous code references as callbacks, and in our logging code, these all have the same name: <code class="verbatim">__ANON__</code>.</p> <p> This makes debugging output a little less useful.</p> <p> In browsing some code in AnyEvent::SMTP, I happened across the trick of locally setting the <code class="verbatim">__ANON__</code> typeglob to the name you want to use used in stacktraces and the like:</p>
One minute to read
Michael Alan Dorman

Reconsidering…

<p> As so often happens, we resist things we don&#39;t understand, in favor of those we do, but if we only take the time to learn…</p> <p> Geek-dom ahead, you have been warned.</p> <p> I do almost all of my programming in Perl these days–in fact, for the last decade and a half or so. I&#39;m not interested in getting into a langage war here–I know Perl&#39;s weaknesses as well as its strengths.</p>
4 minutes to read
Michael Alan Dorman