Apologies.I have not read the module's documentation and made an incorrect assumption.The docs say that 'getAgent() will return a reference to the Internet Explorer automation object, created using Win32::OLE'
so what you expect in return is an object reference which you manipulate as in :