Hi,
Well I am running a piece of code to open a word document using perl.It works fine when i run it directly through perl . The problem arises when i try to run it through Teamsite using an IPL file for the same piece of code .
I am also using the packages :
use Win32:

LE;
use Win32:

LE::Const 'Microsoft.Word';
use Win32:

LE::Const 'Microsoft Office';
These packages are there in the Teamsite server that i am working on , but i am unable to run the code while the same is running in local Perl .
My code is :
my $word = CreateObject Win32:

LE 'Word.Application' or die $!;
$word->{'Visible'} = 1;
my $document = $word->Documents->Add;
my $selection = $word->Selection;
Can anyone please help me ??