Set WordObj = CreateObject("Word.Basic") WordObj.FileNew WordObj.EditClear #### use OLE; my $wordObj = OLE->CreateObject("Word.Basic"); $wordObj->FileNew; $wordObj->EditClear; #### | wordObj | wordObj := OLE createObject: 'Word.Basic'. wordObj fileNew; editClear.