You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/01/12 05:28:54 UTC

Re: mod_perl 1.99_13 - IO:Socket::INET works only once - other si de d efunct thereafter

John DeBenedette wrote:
> correction of typo in my example at INET->new
> $dbpoolport s/b $poolport
> $dbhost s/b $host

What would it take to paste the real minimal script that fails? It's full of 
problems. You have '>' in:

   $poolport, Proto => "tcp", Type => SOCK_STREAM) > or die "could not

you don't load IO::Socket, you don't import SOCK_STREAM. It doesn't look 
right. Thanks.

what happens if instead of 'print $conpool' you use '$conpool->send()'? and 
instead of <$conpool> - $conpool->recv(), per IO::Socket manpage.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html