<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>&gt; Date: Tue, 31 Jul 2007 23:20:53 -0300<br>&gt; From: acid06@gmail.com<br>&gt; <br>&gt; Outro benefício é que você consegue escrever código usando IPC que vai<br>&gt; ser portável. Pelo menos 90% dos programadores em Perl não sabem<br>&gt; escrever IPC que vai funcionar em Windows porque usam signal handlers.<br>&gt; Usando o módulo forks você tem um fallback ótimo: se estiver sob<br>&gt; Windows, use threads, se estiver em outro OS, use forks. O forks<br>&gt; oferece a conveniência de se instalar sob o namespace "threads" caso<br>&gt; você assim queira, dessa forma, você pode usar threads-&gt;create() e na<br>&gt; verdade ele vai criar um processo.<br>&gt; <br>&gt; Assim você consegue uma API limpa, IPC facilitado, garantia de<br>&gt; portabilidade e o melhor dos dois mundos.<br>&gt; <br>&gt;   http://search.cpan.org/~rybskej/forks-0.24/<br><br>Nilson, eu fiquei empolgado com a descrição, fui dar uma olhada no módulo e encontrei isso:<br><br>"Using this module <b>only</b> makes sense if you run on a system that has an implementation of the <code>fork</code> function by the Operating System. Windows is currently the only known system on which Perl runs which does <b>not</b> have an implementation of <code>fork</code>. Therefore, it <b>doesn't</b>
make any sense to use this module on a Windows system. And therefore, a
check is made during installation barring you from installing on a
Windows system."<br><br>Você consegue gerar código que roda em ambos sistemas operacionais? Que versão você está usando do Forks?<br><br>[]'s<br>Alceu<br><br /><hr />Hotmail to go? Get your Hotmail, news, sports and much more!   <a href='http://mobile.msn.com' target='_new'>Check out the New MSN Mobile</a></body>
</html>