<html><div style='background-color:'><P>Quando eu tento abrir o arquivo.pl dentro da página html... o arquivo.pl não abre...</P>
<P>O código dos arquivos são esses:</P>
<P> </P>
<P>arquivo.html------------------------------------------------------------------------------------------------------------------</P>
<P><html><BR><head><BR><title>Teste</title><BR></head><BR><body><BR><a href="<A href='http://localhost/cgi-bin/arquivo.pl">Teste</a'>http://localhost/cgi-bin/arquivo.pl">Teste</a</A>><BR></body><BR></html></P>
<P>arquivo.pl--------------------------------------------------------------------------------------------------------------------------</P>
<P>#!c:\perl\bin\perl</P>
<P>use Win32::OLE;</P>
<P>use Win32::OLE::Const 'Microsoft.Word'; </P>
<P>use Win32::OLE::Const 'Microsoft Office';</P>
<P>my $word = CreateObject Win32::OLE 'Word.Application' or die $!;</P>
<P>my $document = $word->Documents->Add;</P>
<P>$word->{'Visible'} = 1;</P>
<P>my $selection = $word->Selection;</P>
<P>my $nome;</P>
<P>$nome="Carlos Estevão";</P>
<P>$selection -> TypeText($nome);<BR> <BR>$document->Close();<BR> <BR>$word->Quit();<BR><BR></P>
<P> </P>
<P><BR><BR> </P><BR>
<DIV>
<P align=left> </P></DIV></div></html>