i need to read word documents with certain headings. Grab these headings and the text under each heading from the word document and insert in mysql database without loosing the word format using Perl or javascript. If their are few new headings which are not from my list, they should all be put together in a separate variable as one.