in reply to use Win32::IEAutomation;

If $ContentPlaceHolderContent and $FileUpload_opfFile are variables then try
$ie->getTextBox('name:', "ctl00$ContentPlaceHolderContent$FileUpload_o +pfFile")->SetValue('C:/test/9780547076034NIMAS.opf');
poj

Replies are listed 'Best First'.
Re^2: use Win32::IEAutomation;
by sharief (Novice) on Dec 27, 2011 at 10:44 UTC
    <input type="file" name="ctl00$ContentPlaceHolderContent$FileUpload_opfFile" id="ctl00_ContentPlaceHolderContent_FileUpload_opfFile" style="width:406px;" /> This is the source html tag

      Using IE9 the SetValue method worked for that tag when I changed the type to "text". With type="file" I get a "Could not start AutoItX3 Control through OLE" error. It could be a security issue.

      poj