use Win32::Shortcut; use Win32::OLE qw(in with); use Win32::OLE::Const; ##=>Changed my $wdc = Win32::OLE::Const->Load("Microsoft Word"); ##=>Added my $x = Win32::OLE->GetActiveObject('Word.Application'); # snip $x->Selection->Delete( { Unit=> $wdc->{wdCharacter}, ##=>Changed Count=>1 } ); #### >>Another feature is that standard way to handle wdCONSTANTS >> >>use Win32::OLE::Const 'Microsoft Word'; >> >>does not work anymore, I resorted to >> >>use Win32::OLE::Const; >>.... >> $obj->{_WD} = Win32::OLE::Const->Load("Microsoft Word"); # 9.0 Object >>Library"); > > Hmm, do you get any errors or anything? > "Constant subroutine emptyenum redefined at C:/DEV/Perl/site/lib/Win32/OLE/Const. pm line 65535." times 13 (Bad luck ??)