perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: mod_perl 1.99_13 - IO:Socket::INET works only once - other si de d efunct thereafter
Date Mon, 12 Jan 2004 04:28:54 GMT
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


Mime
View raw message