1. Thanks for pointing that out -- when I submitted the post yesterday, I did include the actual code. I think it somehow got lost when the post was officially moderated (or something). It should be fixed now.
2. I've considered submitting it to CPAN, but am mildly intimidated by the whole process... this is my first piece of publically available code (in Perl or any language.) I guess if the monks critique it, and anyone out there thinks it's actually useful, I'd definitely want to submit it.