sunshine_august has asked for the wisdom of the Perl Monks concerning the following question:

Hi, all monks:

I want to use POE::XS::Queue::Array to take place of the default POE::Queue::Array in POE, so I can gain more performance, but I don't know how to do it.

Do I just need to put "use POE::XS::Queue::Array;" before "use POE;" like the following, or I need to do it in another way?

#!/usr/bin/perl use strict; use warnings; use POE::XS::Queue::Array; use POE qw( Loop::Event Wheel::SocketFactory Wheel::ReadWrite Filter::Stre +am);
Thx in advance.
  • Comment on How to use POE::XS::Queue::Array to take place of POE::Queue::Array?
  • Download Code

Replies are listed 'Best First'.
Re: How to use POE::XS::Queue::Array to take place of POE::Queue::Array?
by bingos (Vicar) on Dec 24, 2008 at 06:06 UTC

    Hi,

    If POE::XS::Queue::Array is installed it gets automagically loaded by POE::Kernel, there is no need to do anything special.