New releases

djberg96 on 2002-06-22T20:22:24

I did a bunch of updates to my Perl & Ruby modules these last couple of days, even though I was tired as hell from staying at work so late each night. As time goes on, I feel a greater sense of responsibility to get my published code working properly as soon as someone spots a bug.

Well, anyway, here's a quick synopsis:

Set::Array (Perl) - The context issue with the bag() method has been fixed. The intersection() and symmetric_difference() methods have new and improved algorithms. I was beating myself up over this one, until I realized I got my algorithm from The Cookbook. So, Tom Christiansen *does* make mistakes. Good to know that he's mortal after all.

Sys::Host (Ruby) - The ip_addr() method was causing a core dump on Linux. Apparently, Linux doesn't like it when you try to free memory on a null pointer. Solaris doesn't seem to care, though. Also, someone provided a fix (a simple library include, actually) for BSD. Nice.

Sys::Uptime (Ruby) - The CLK_TCK constant I was using was producing odd results in Linux. It works now for both Solaris and Linux (and hopefully everyone else).