in reply to
How Can I get the Word Document Page Number in Perl Using Linux?
If I were on a Windows box that had Microsoft Word installed, I would use Win32::OLE to control Word to retrieve that information. However, that combo isn't available on Linux.
One alternative would be to use OpenOffice or LibreOffice. Although I personally have never done so, I believe that they offer some kind of API that you could leverage from Perl similar to someone using OLE to control Microsoft Office software in Windows.