Re: cannot determine peer address with Unix domain sockets

2007-03-23 Thread Andy Greenwood
On 3/23/07, John W. Krahn <[EMAIL PROTECTED]> wrote: Andy Greenwood wrote: > On 3/22/07, Tom Phoenix <[EMAIL PROTECTED]> wrote: >> On 3/22/07, Andy Greenwood <[EMAIL PROTECTED]> wrote: >> >> > $Select = new IO::Select(); >> >> Is $Select a global variable? Is that why it's got a capital l

Re: cannot determine peer address with Unix domain sockets

2007-03-23 Thread John W. Krahn
Andy Greenwood wrote: > On 3/22/07, Tom Phoenix <[EMAIL PROTECTED]> wrote: >> On 3/22/07, Andy Greenwood <[EMAIL PROTECTED]> wrote: >> >> > $Select = new IO::Select(); >> >> Is $Select a global variable? Is that why it's got a capital letter? I >> suspect that you're not coding under the ru

Re: cannot determine peer address with Unix domain sockets

2007-03-23 Thread Andy Greenwood
On 3/22/07, Tom Phoenix <[EMAIL PROTECTED]> wrote: On 3/22/07, Andy Greenwood <[EMAIL PROTECTED]> wrote: > $Select = new IO::Select(); Is $Select a global variable? Is that why it's got a capital letter? I suspect that you're not coding under the rules of 'use strict'. I'm $Select is

Re: cannot determine peer address with Unix domain sockets

2007-03-22 Thread Jeff Pang
> >Is $Select a global variable? Is that why it's got a capital letter? I >suspect that you're not coding under the rules of 'use strict'. I'm >not sure whether that indicates a problem with your program, but it >bears further investigation. > >Cheers! > >--Tom Phoenix >Stonehenge Perl Training >

Re: cannot determine peer address with Unix domain sockets

2007-03-22 Thread Tom Phoenix
On 3/22/07, Andy Greenwood <[EMAIL PROTECTED]> wrote: $Select = new IO::Select(); Is $Select a global variable? Is that why it's got a capital letter? I suspect that you're not coding under the rules of 'use strict'. I'm not sure whether that indicates a problem with your program, but

Re: cannot determine peer address with Unix domain sockets

2007-03-22 Thread Andy Greenwood
On 3/22/07, Tom Phoenix <[EMAIL PROTECTED]> wrote: On 3/22/07, Andy Greenwood <[EMAIL PROTECTED]> wrote: > I am getting the following error whenever I try to send data to a unix > domain socket. PHP sends the command just fine, but perl dies as soon > as it reads from the socket. Are you using

Re: cannot determine peer address with Unix domain sockets

2007-03-22 Thread Tom Phoenix
On 3/22/07, Andy Greenwood <[EMAIL PROTECTED]> wrote: I am getting the following error whenever I try to send data to a unix domain socket. PHP sends the command just fine, but perl dies as soon as it reads from the socket. Are you using PHP, or Perl? Both? send: Cannot determine peer addres

cannot determine peer address with Unix domain sockets

2007-03-22 Thread Andy Greenwood
I am getting the following error whenever I try to send data to a unix domain socket. PHP sends the command just fine, but perl dies as soon as it reads from the socket. send: Cannot determine peer address at myscript.pl line 1256 I found the following page which discusses a fix for this on Open