in reply to Re: Trying to get started with IO::Multiplex
in thread Trying to get started with IO::Multiplex
Any ideas on the error messages?The four client error messages are: Use of uninitialized value in unpack at /usr/share/perl5/IO/Multiplex. +pm line 352. Use of uninitialized value in numeric eq (==) at /usr/share/perl5/IO/M +ultiplex.pm line 352. Use of uninitialized value in unpack at /usr/share/perl5/IO/Multiplex. +pm line 352. Use of uninitialized value in numeric eq (==) at /usr/share/perl5/IO/M +ultiplex.pm line 352.
It sounds like your problem is in the module at line 352. :-)
So use a local copy of the module,( or even edit the module as root for testing), and see what is getting handed off at line 352.
My ESP guesses the Multiplex module expects an array and is only getting a single value? You have to dig in and see.
OR.... go for a more standard solution using IO::Select or forked/threaded servers. Google for many previously posted code examples or visit the tutorials here at Perlmonks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Trying to get started with IO::Multiplex
by Bruce32903 (Scribe) on Jan 18, 2011 at 04:07 UTC |