On Sat, 16 Feb 2002 14:06:02 +0900, Robin wrote:

>Don't get me wrong, modules can be very useful but I'm more of a Randal 
>Schwartz kind of person (ie re -inventing the wheel yields other fruits 
>besides the wheel). It's not that hard to write your own subroutine to 
>parse this data, this kind of stuff is what makes Perl so useful.

Hi Robin,

You are right, I often do that, too often perhaps. But then, I wouldn't know more than 
I already knew on Perl. This time I chose to ask the list, and it taught me new tricks.

Your suggestion for parsing date formats is convincing. Instead of assuming supposedly 
standard formats, it's just as simple to hunt for components, wherever they are.

And from Chris:

On Fri, 15 Feb 2002 18:34:38 -0500, Chris Nandor wrote:

>Date::Parse::str2time handles it all except for the "o'clock".

As Date::Parse could not be found in the MacPerl 5.20r4 lib, I dug up one from 
http://theoryx5.uwinnipeg.ca/scripts/CPAN/authors/id/G/GB/GBARR/TimeDate-1.10.tar.gz.

The Read me file states: This is the perl5 TimeDate distribution. It requires perl 
version 5.003 or later.

Installing Perl modules is untrod path to me. I definitely would like to learn the 
trade, but it seems that I may not be on the right track, at least not until MacPerl 
5.6.1r1 is available.

Question to Chris, or others: is the above module usable within which version of 
MacPerl ? Or, is there somewhere a version tailored to MacPerl ?

If so, I'll try to follow instructions from MacPerl Power & Ease...

Thanks

Reply via email to