Subject: | Can't locate object method "ie_drain" via "IO::Event" |
I get:
Can't locate object method "ie_drain" via "IO::Event",
"IO::Socket::INET", or "Event::io" at Event.pm line 923
using IO::Event 0.602 and instantiating IO::Event::Socket::INET as:
IO::Event::Socket::INET->new(
Listen => 5,
LocalAddr => inet_ntoa(scalar gethostbyname(hostname())),
LocalPort => $port,
Proto => 'tcp',
ReuseAddr => 1,
Blocking => 0
);
then, in ie_input() print()ing to the client filehandle \r\n terminated
lines for approx 500000 bytes when a remote host connects and requests
some data.
perl, v5.8.6 built for i686-linux-thread-multi
[13:21:11] <CRIT> : ERROR: Can't locate object method "ie_drain" via
"IO::Event", "IO::Socket::INET", or "Event::io" at
eagle_news/lib/IO/Event.pm line 923
IO::Event::AUTOLOAD('IO::Event=GLOB(0x8d8c768)') called at
eagle_news/lib/IO/Event.pm line 830
IO::Event::print('IO::Event=GLOB(0x8d8c768)',
'<description>Slowing economy and housing glut make it a tough...')
called at eagle_news/lib/EAGLE/RSS/Server.pm line 113
EAGLE::RSS::Server::ie_input('EAGLE::RSS::Server',
'IO::Event=GLOB(0x8d8c768)', 'SCALAR(0x8d8d898)') called at
eagle_news/lib/IO/Event.pm line 108
eval {...} called at eagle_news/lib/IO/Event.pm line 107
IO::Event::ie_invoke('IO::Event=GLOB(0x8d8c768)', 1, 'ie_input',
'SCALAR(0x8d8d898)') called at eagle_news/lib/IO/Event.pm line 267
IO::Event::ie_input('IO::Event=GLOB(0x8d8c768)') called at
eagle_news/lib/IO/Event.pm line 137
IO::Event::ie_dispatch('IO::Event=GLOB(0x8d8c768)',
'Event::Event::Io=SCALAR(0x8b343a0)') called at /eagle_news/lib/Event.pm
line 164
eval {...} called at eagle_news/lib/Event.pm line 164
Event::loop() called at eagle_news/lib/EAGLE/RSS.pm line 164
EAGLE::RSS::start() called at ./bin/eagle_newsd line 74
at eagle_news/lib/IO/Event.pm line 117
IO::Event::ie_invoke('IO::Event=GLOB(0x8d8c768)', 1, 'ie_input',
'SCALAR(0x8d8d898)') called at eagle_news/lib/IO/Event.pm line 267
IO::Event::ie_input('IO::Event=GLOB(0x8d8c768)') called at
eagle_news/lib/IO/Event.pm line 137
IO::Event::ie_dispatch('IO::Event=GLOB(0x8d8c768)',
'Event::Event::Io=SCALAR(0x8b343a0)') called at eagle_news/lib/Event.pm
line 164
eval {...} called at eagle_news/lib/Event.pm line 164
Event::loop() called at eagle_news/lib/EAGLE/RSS.pm line 164
EAGLE::RSS::start() called at ./bin/eagle_newsd line 74