Perl’s DateTime module can (usually) figure out the local timezone on its own. Don’t know why I didn’t know this — it’s right there in the docs.
It’s straightforward to convert a static library to a shared one
ar -x mylib.a
gcc -shared *.o -o mylib.so
catdoc converts doc and rtf files to text, and, so far in my brief acquaintance with it, does so better than antiword and unrtf. And it comes with xls2csv and catppt as well.