You can use use Win32::OLE to do this.. but it's not Win32::OLE that actually does what you're looking for. It will give you access to the COM objects that are available within Word, but you have to know how to use those COM objects. Take a look at this for a the Word object model refrence.