Hi,

I have a problem running threads under mod perl. I always get a "zero sized 
reply" in the browser.

it works fine under normal cgi and in the shell.

Note: I have perl 5.8.6, and Apache2.0 with mod-perl2

when typing: perl -V:useithreads -V:usemultiplicity
I get: useithreads='define';
  usemultiplicity='define';

Here is the simple test script im trying to run:

--------------------
use threads;

$thr = threads->new(\&sub1);
@ReturnData = $thr->join;

print "Thread returned @ReturnData \n";

sub sub1 {
        return "Fifty-six";
}
---------------------

Is there anything required which I miss?

thanks  in advance
Qasem



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to