[Net-ssleay-devel] [saper@cpan.org: [patch] Restore backward compatibility + use XSLoader for faster loading]

Florian Ragwitz rafl at debian.org
Fri Jan 20 19:57:04 UTC 2006


On Fri, Jan 20, 2006 at 08:13:20PM +0100, Florian Ragwitz wrote:
> Net-SSLeay-1.30-use-ppport.patch  patches SSLeay.xs so that it uses
> ppport.h. You must of course include this file in Net::SSleay distribution.
> To generate it, install Devel::PPPort and run this command:
> 
>    $ perl -MDevel::PPPort -eDevel::PPPort::WriteFile
> 
> Devel::PPPort is a superb hack that allows XS modules to be compatible
> with older Perls, down to 5.003. I tested it and with this patch,
> Net::SSLeay works with 5.005_03 and 5.004_05 on Linux x86.

Applied as r30.

> Net-SSLeay-1.30-use-xsloader.patch  patches SSLeay.pm so that it first
> tries to use XSLoader, then falls back to DynaLoader. XSLoader is a
> DynaLoader wrapper, but is a little faster than it. XSLoader is a core
> module, but was CPANized by Michael Schwern and is maintained by me.
> It's conditionally used here so you don't need to add it to the
> prerequisites.

Isn't it evel slower to use eval to check for a module that might be a
little bit faster?


Regards,
Flo

-- 
BOFH excuse #5:
static from plastic slide rules
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/net-ssleay-devel/attachments/20060120/08612ea2/attachment.pgp


More information about the Net-ssleay-devel mailing list