Hi Lyle

On Fri, 2009-02-20 at 00:07 +0000, Lyle wrote:
> 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.

$many x $thanx;

I'll reconsider Tree.

I was going by this line in Scalar::Util:

require List::Util; # List::Util loads the XS

-- 
Ron Savage
r...@savage.net.au
http://savage.net.au/index.html



#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to