[cgiapp] Re: [OT] HTML::Parser::PurePerl

Lyle webmaster at cosmicperl.com
Thu Feb 19 19:07:39 EST 2009


Hi Ron,
 
Ron Savage wrote:
> Tree, for example, uses Scalar::Util, which uses List::Util, which uses
> XS.
>   

I've drawn similar wrong conclusions several times before. List::Util 
drops back to Pure Perl if XS is not available. From Util.pm:-

# This code is only compiled if the XS did not load
eval <<'ESQ' if !defined &sum;

I was the one who suggested Cantrell to add the Purity warnings to 
CPANdeps. It only really tells you that XS files are a part of the 
distribution. The only work around for this is for authors to add a 
comment tag of # pureperl to their manifest if they use XS but can drop 
back to Pure Perl.


Lyle



More information about the cgiapp mailing list