I don't know about any perl script. However, I wrote this csh script to make a BVQX VOI file from the output of 3dclust. Disclaimers: 1) I'm not very good at writing csh code, it may be sketchy. 2) There are obviously some things in this that probably don't apply to you (absolute path name, for instance). You'll have to change them (In an everyday text editor).
-Daniel