Well, I don't know if anyone is still interested in this since there was zero response to my previous mails, but here's a python version. It actually runs a little bit faster than the perl one.
Attachment:
generate-info-dir
Description: generate-info-dir program in Python
-- This line is completely ham.