Re: iCal parser in Perl

2002-09-18 Thread Benjamin Trott
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Has anyone successfully parsed a iCal.app .ics file using Net::ICal? (Date::Ical does not address the entire file format, Net::ICal does) This script: #!/usr/bin/perl use Net::ICal; $icalStr = `cat /Users/alex/Library/Calendars/ARCtime.ics`;

Re: Why do the Docs say download binaries, don't compile ?

2002-09-18 Thread ellem
On Wednesday, September 18, 2002, at 03:14 AM, Celeste Suliin Burris wrote: I went to cpan.org intending to download and compile the latest stable.tar.gz to update to 5.8.0 on my Jaguar machine. Reading the documentation, it told me to download the binaries, not to compile it. As a

Re: iCal parser in Perl

2002-09-18 Thread Puneet Kishor
Another naive question, but questioning minds must ask. It took a few days and the PHP community is already out with a very decent iCal parser. Reads ics files and makes calendars. Perhaps the Net::ICal and related modules set out to do too much, and never got beyond the third alpha release.

Re: iCal parser in Perl

2002-09-18 Thread ellem
On Wednesday, September 18, 2002, at 08:59 AM, Puneet Kishor wrote: SNIP This is what bothers me... I want to do something quickly and I think of Perl... but I find it is sometimes just easier to do with PHP, and as much as I hate doing it, I concede another small victory to PHP.

Re: iCal parser in Perl

2002-09-18 Thread Puneet Kishor
Thanks, but I guess I am taken aback by such a rational answer ;-). On Wednesday, September 18, 2002, at 08:17 AM, ellem wrote: On Wednesday, September 18, 2002, at 08:59 AM, Puneet Kishor wrote: SNIP This is what bothers me... I want to do something quickly and I think of Perl... but

Re: iCal parser in Perl

2002-09-18 Thread Puneet Kishor
On Wednesday, September 18, 2002, at 08:41 AM, Erik Price wrote: On Wednesday, September 18, 2002, at 08:59 AM, Puneet Kishor wrote: It took a few days and the PHP community is already out with a very decent iCal parser. Reads ics files and makes calendars. The iCalendar file format

Re: iCal parser in Perl

2002-09-18 Thread Erik Price
On Wednesday, September 18, 2002, at 09:48 AM, Puneet Kishor wrote: yeah, while iCalendar has been around for a while, the PHP parser I believe is very, very recent. Kronolith, an application that is featured as part of the Horde PHP framework, has had iCalendar features since July 30,

Re: iCal parser in Perl

2002-09-18 Thread Sherm Pendley
On Wednesday, September 18, 2002, at 08:59 AM, Puneet Kishor wrote: Last time I upgraded my stock Apple Perl I got creamed six ways from sunday. I would ask, why did you try to upgrade? Was there a particular feature you needed that was present in a newer version of Perl, that 5.6.0 lacks?

Re: iCal parser in Perl

2002-09-18 Thread Puneet Kishor
On Wednesday, September 18, 2002, at 08:11 AM, Sherm Pendley wrote: On Wednesday, September 18, 2002, at 08:59 AM, Puneet Kishor wrote: Last time I upgraded my stock Apple Perl I got creamed six ways from sunday. I would ask, why did you try to upgrade? Was there a particular feature

Re: Cocoa perl editors

2002-09-18 Thread Alex Rice
On Tuesday, September 17, 2002, at 07:20 PM, David Wheeler wrote: It'd be nice to make a binary available in general. Does the binary distribution know how to find/use external libraries such as ispell? Is it easy to add new stuff (the cperl that comes with Emacs is broken -- I always

Re: iCal parser in Perl

2002-09-18 Thread srl
(CCed to reefknot-devel , where work on Net::ICal gets discussed) On Tue, 17 Sep 2002, Chris Devers wrote: On Tue, 17 Sep 2002, Alex Rice wrote: Has anyone successfully parsed a iCal.app .ics file using Net::ICal? (Date::Ical does not address the entire file format, Net::ICal does)

Re: iCal parser in Perl

2002-09-18 Thread srl
(CCed to reefknot-devel, the development list for iCalendar-related tools in Perl. See reefknot.org for more information.) On Wed, 18 Sep 2002, Benjamin Trott wrote: --[PinePGP]--[begin]--

Re: Why do the Docs say download binaries, don't compile ?

2002-09-18 Thread Celeste Suliin Burris
I have a bad habit of reading through the instructions. At http://www.perl.com/CPAN-local/src/README.html it states: * Binary distributions of perl (executable programs) for particular platforms. See the ports directory at the top level of CPAN. If your system does not have a C compiler, you

Re: Cocoa perl editors

2002-09-18 Thread Avi Rappoport
At 7:41 PM -0600 9/17/02, Alex Rice wrote: On Tuesday, September 17, 2002, at 07:20 PM, David Wheeler wrote: It'd be nice to make a binary available in general. Does the binary distribution know how to find/use external libraries such as ispell? Is it easy to add new stuff (the cperl that

Re: Why do the Docs say download binaries, don't compile ?

2002-09-18 Thread ellem
OK I see. But what they're talking about here is the OLD Mac OS.. the one without a command line. This should be updated to reflect the fact that Mac's can run variants of UNIX (Yellow Dog, OS X). I concede the point but complain bitterly and in a completely unsportsmanlike way :) In

Re: Why do the Docs say download binaries, don't compile ?

2002-09-18 Thread Phil Dobbin
On 18/9/02 17:26, Celeste Suliin Burris [EMAIL PROTECTED] wrote: I have a bad habit of reading through the instructions. At http://www.perl.com/CPAN-local/src/README.html it states: * Binary distributions of perl (executable programs) for particular platforms. See the ports directory at

Re: Why do the Docs say download binaries, don't compile ?

2002-09-18 Thread Gregory Cranz
And to clarify this point just a tiny bit more: Mac OS/X is 'a' UNIX. It is an implementation of the FreeBSD UNIX variant. Furthermore, it is - in fact - the most widely used UNIX 'flavor' in the world today. It is however, still considered 'new' therefore many have been slow to adapt to

Re: iCal parser in Perl

2002-09-18 Thread Edward Moy
Yeah, I've done a little debugging myself with the Net::ICal and Date::ICal code. I did a similar fix for add(), though I just pass the arguments to SUPER::add() as they are (so add(hours = 2) should work). I fixed the regular expression in new() to parse dates better, and a few other

Re: Why do the Docs say download binaries, don't compile ?

2002-09-18 Thread Brian McNett
On Wednesday, September 18, 2002, at 09:39 AM, ellem wrote: In conclusion OS X is =~ UNIX and you should look around this list for all the instructions regarding the installation of 5.8.0 I'm rather surprised it hasn't been mentioned yet, but there is an EXCELLENT article on installing

Locale and 5.8.0 (1 More Mac guy having Unix trouble)

2002-09-18 Thread Tim Grant
Good Folks, After upgrading to Jaguar, I installed Perl 5.8.0 from Aaron Faby's binaries (www.serverlogistics.com). Things look OK except the new Perl complains about Locale: perl: warning: Setting locale failed. perl: warning: Please check that your locale setings: LC_ALL =

Re: Locale and 5.8.0 (1 More Mac guy having Unix trouble)

2002-09-18 Thread Morbus Iff
perl: warning: Setting locale failed. perl: warning: Please check that your locale setings: LC_ALL = (unset), LANG = en_US are supported and installed on your system. perl: warning: Falling back on the standard local (C). Take a look here:

Re: Locale and 5.8.0 (1 More Mac guy having Unix trouble)

2002-09-18 Thread Celeste Suliin Burris
As long as you only need US English access, you will be fine, since that's the default for the C setting. If for some reason you need non-english (especially a non-European Character set), you will need to read up on locale. This is not perl-specfic. Most unix text processing programs take

Re: Why do the Docs say download binaries, don't compile ?

2002-09-18 Thread Ken Williams
On Thursday, September 19, 2002, at 02:26 AM, Celeste Suliin Burris wrote: I have a bad habit of reading through the instructions. At http://www.perl.com/CPAN-local/src/README.html it states: Oh, I see. The thing is, I wouldn't really call that page the instructions. The Perl community