UPS's tools consists of a big PDF file explaining their API. The organization of the PDF is a bit off-putting and confusing, but I think there is probably enough information there to get the thing working. (I think there may be some C++ or Visual Basic code hidden there somewhere as well, but no Perl...) That's what I meant about re-inventing the wheel... If someone's already done this, I'd just assume use their work, but if not, I'll just have to dig in.