Perlbal - IO::AIO

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > May 2007 > IO::AIO





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author IO::AIO
Ruben Kerkhof

2007-05-13, 7:11 am

Hi Brad and list,

I'm packaging Perlbal for Fedora, as a dependency for Mogilefs.
Perlbal can optionally use IO::AIO to speed things, so I'm planning
on packaging IO::AIO as well.
However, the latest version on CPAN is 2.33. Perlbal/AIO.pm tries to
use version 1.6, which is a bit old:

# Try and use IO::AIO or Linux::AIO, if it's around.
BEGIN {
$Perlbal::OPTMOD_IO_AIO = eval "use IO::AIO 1.6 (); 1;";
$Perlbal::OPTMOD_LINUX_AIO = eval "use Linux::AIO 1.71 (); 1;";

I tested perlbal with IO::AIO 2.33, and so far, it seems to work fine.

Would it be possible to check for version 1.6 or higher?

Kind regards,

Ruben Kerkhof

Ask Bjørn Hansen

2007-05-13, 7:11 am


On May 13, 2007, at 4:26 AM, Ruben Kerkhof wrote:

> $Perlbal::OPTMOD_IO_AIO = eval "use IO::AIO 1.6 (); 1;";

[...]
> Would it be possible to check for version 1.6 or higher?


That's what it does...


- ask

--
http://develooper.com/ - http://askask.com/



Ruben Kerkhof

2007-05-13, 7:11 am


On 13-mei-2007, at 13:35, Ask Bj=F8rn Hansen wrote:

>
> On May 13, 2007, at 4:26 AM, Ruben Kerkhof wrote:
>
> [...]
>
> That's what it does...
>


Duh, perldoc -f use :-)

Thanks!=

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com