Re: ANNOUNCE: DateTime 0.45

[email protected] (Jim Monty)
Newsgroups perl.datetime
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.