On Wed, 10 Apr 2002, Yitzchak Scott-Thoennes wrote: > Followups redirected to [EMAIL PROTECTED], the > Date::ICal development list.
Which is probably a good place to continue this discussion if you don't want to be cross-posting. > (Disclaimer: I'm not an "offical" reefknot developer, just a > Date::ICal user, with bizarre ideas about what to throw into the pot > :) > > This is easy to do. I had planned to do it as part of a restructuring > of the new method, but haven't got around to it yet. I want to make > new() table-driven, with ICal-supporting modules being able to > register initialization functions so that, for instance, after 'use > Date::Discordian', you could directly do Date::ICal::->new(disco=>...). Rich Bowen, the author of Date::ICal, may have useful things to say about that. > But I would make julian take a single floating point number and > convert that to seconds (dropping any fractional second, > unless/until fractional seconds become supported). Unless I misremember, we already tried this with Date::ICal, with dismal results for performance in pure Perl; see the CVS history of Date::ICal if you're curious. That approach could be made faster if we wrote the data-munging code in C, but then it would no longer be cross-platform. If you've got an idea for how to make this work and be decently fast and cross-platform, I'd love to see it. srl -- Shane R. Landrum [EMAIL PROTECTED] __o "In the end, you write the book that grabs you -\<, by the throat and demands to be written." - Salman Rushdie (*)/(*)
