Re: Nanoseconds in the FAQ.

2003-06-12 Thread Ben Bennett
Oops, thanks. Revised version: =head3 How small an increment of time can I represent? ADateTime can represent nanoseconds. You can create obects with that resolution using the Cnanosecond parameter to Cnew or Cset and there is a corresponding Cnanosecond accessor. For these you give an

Re: Nanoseconds in the FAQ.

2003-06-12 Thread Ben Bennett
Please ignore the last one... I biffed it too. Below is the corrected POD. -ben =head3 How small an increment of time can I represent? ADateTime can represent nanoseconds. You can create obects with that resolution using the Cnanosecond parameter to Cnew or Cset and there is

qr// in 5.00503 [was: Re: Converting to DT]

2003-06-12 Thread Ben Bennett
I knew I had seen the assertion that qr started in 5.6.0 somewhere recently and finally found it: Perl 5.6.0 introduced the ability to package up regular expressions into variables using the qr// operator. [From Simon Cozen's article on regexps

RFC: Adding custom locales to DateTime::Locale part deux

2003-06-12 Thread Richard Evans
Right, what if the requirements for adding locales are as follows: If you need to add a custom locale that cannot inherit from an existing one: 1) Inherit from DateTime::Locale::Base - you'll need to implement the

[announce] DateTime::TimeZone::Alias 0.01

2003-06-12 Thread Joshua Hoblitt
Released to CPAN. Available immediately from: http://kolea.ifa.hawaii.edu/~jhoblitt/pm/DateTime-TimeZone-Alias-0.01.tar.gz Changes since 0.01pre1 Renamed del to remove on Dave's advice. Cheers, -J --

Getting DateTime with ActiveState ppm

2003-06-12 Thread Cameron McCormack
Hi everyone. I just tried to install DateTime in Windows with ppm but it crashed ppm. This is what I did: ppm repository add 'DateTime Repository' \ http://datetime.perl.org/download/5.8.0 ppm install DateTime and then ppm crashes with some perl error (I can't remember the error

[announce] DateTime::TimeZone::Alias 0.02

2003-06-12 Thread Joshua Hoblitt
Released to CPAN. Available immediately from: http://kolea.ifa.hawaii.edu/~jhoblitt/pm/DateTime-TimeZone-Alias-0.02.tar.gz Changes since 0.01 Thanks to Ben Bennett for pointing out that I might want to actually run the tests before releasing a module. (I forgot to rename del to remove in the