Dave Rolsky wrote:
> Jim Monty wrote:
> > I just installed DateTime 0.45 on ActivePerl v5.8.8 using the ActiveState 
> > Perl Package Manager rather than by compiling it myself. How can I be 
> > certain I'm using the XS version of DateTime and not the Pure Perl version?
>
> perl -MDateTime -le 'print $DateTime::IsPurePerl'

Gosh, once you know it's there, it seems impossible to have missed it. :-|
 
    C:\Perl\site\lib>grep -in PurePerl DateTime*.pm
    DateTime.pm:26:            $DateTime::IsPurePerl = 0;
    DateTimePP.pm:5:$DateTime::IsPurePerl = 1;
    
    C:\Perl\site\lib>

Thank you, Dave.

-- 
Jim Monty

Reply via email to