Just wondering...you say in one of your comments that you're using APR::UUID because it's the only cross-platform UUID generator. I'm not too familiar with this area, but it seems unnecessary if you're not writing a mod_perl application. How about Data::UUID?