Re: [MacPerl] MacPerl 5.6.1b3 Released

2002-01-09 Thread Vic Norton
At 10:44 PM -0500 1/7/02, Chris Nandor wrote: >MacPerl 5.6.1b3 is released. Hi Chris, I've been trying to download 5.6.1b3 for 24 hours with no success. Apparently almost no one else has been able to download it either. The SourceForge site http://sourceforge.net/project/showfiles.php?gro

Re: [MacPerl] MacPerl 5.6.1b4 Released

2002-02-08 Thread Vic Norton
That's curious. I used a 5.6.1.b2 full installer. The update button showed up there and everything worked perfectly. Regards, Vic At 1:33 PM -0500 2/8/02, Chris Nandor wrote: >At 11:03 -0700 2002.02.08, Keary Suska wrote: >>I have 5.6.1b3 full installer, and I don't see an "update" option any

[MacPerl] re: calling Date.pm fails

2002-06-12 Thread Vic Norton
Your script works perfectly for me, Lou. It produces the output 2002-06-11 01:07:04 and I have nothing other than the stuff that came with MacPerl 5.6r1. Regards, Vic At 4:00 AM +0200 6/12/02, Louis Pouzin wrote: >The script is now: > > use strict; > my $str = 'Tue Jun 11 01:07

[MacPerl] re: calling Date.pm fails

2002-06-12 Thread Vic Norton
I meant MacPerl 5.6.1r1. - Vic At 12:24 PM -0400 6/12/02, Vic Norton wrote: >and I have nothing other than the stuff that came with MacPerl 5.6r1.

Re: [MacPerl] Newbie: Date and Time

2002-07-13 Thread Vic Norton
Hi John, Here's a little function that I use for putting a time stamp on web pages. Maybe that will help. Regards, Vic At 8:15 AM -0400 7/12/02, John A. Conrad wrote: >What is the code for MacPerl to get the system date and time >on a Mac box running OS8.x? >Can MacPerl obtain the date/time t

[MacPerl] Date::Calendar 1.0

2001-01-21 Thread Vic Norton
I've just written a calendar creating module, Date::Calendar 1.0. It requires Steffen Beyer's Date::Calc. (Thomas Wenger's Mac port of Date::Calc 4.3 can be downloaded from http://usemacperl.webjump.com/downloads/Date-Calc-4.3-bin-MacOS.tar.gz) My Date::Calendar can be downloaded from h

[MacPerl] Date::MTile (Re: Date::Calendar 1.0)

2001-01-22 Thread Vic Norton
not too much overlap with your Date::Calendar. If there is, I'll just cross off my module as an exercise. The new module resides at http://personal.bgsu.edu/~norton/download/Date-MTile-1.0.tar.gz Regards, Vic At 10:46 AM +0100 1/22/01, Steffen Beyer wrote: >Hello Vic Norton, in a

[MacPerl] Date::MTile 1.0

2001-01-22 Thread Vic Norton
Announcement of Date::MTile 1.0: My former Date::Calendar is now Date::MTile. You can download it from http://personal.bgsu.edu/~norton/download/Date-MTile-1.0.tar.gz I'd be very interested to hear your comments. The attached pieces of my POD will give you an idea of what Date::MTile is al

[MacPerl] A sort problem

2001-01-26 Thread Vic Norton
How do you package a sorting subroutine for use with sort? That's what I don't understand. For example I have written a "naturalorder" subroutine to sort strings like the "natural order" system extension. The script my @before = ( 'e 213', 'e21a', 'e 0212' ); my @after = sort natural

[MacPerl] A sort problem

2001-01-26 Thread Vic Norton
How do you package a sorting subroutine for use with sort? That's what I don't understand. For example I have written a "naturalorder" subroutine to sort strings like the "natural order" system extension. The script my @before = ( 'e 213', 'e21a', 'e 0212' ); my @after = sort natural

Re: [MacPerl] A sort problem

2001-01-27 Thread Vic Norton
Thanks Bruce Van Allen and Ken Williams! I've just implemented Bruce's suggestion: sub naturalorder { # A subroutine that sorts like the Macintosh Natural Order extension. # Created by Vic Norton, 26 Nov 2000. # Modified to work in an external package on 2

[MacPerl] A puzzling sprintf error

2001-02-26 Thread Vic Norton
The code #!perl -w $x = 0.061234567; $string = sprintf "%.2f\%", $x * 100; works fine ($string = 6.12%), but it produces an Invalid conversion in sprintf: end of string error message. Removing the -w flag eliminates the error message, but I don't understand why there is an erro

Re: [MacPerl] A puzzling sprintf error

2001-02-26 Thread Vic Norton
Sorry about that. I should have looked up sprintf. It's right there in Programming Perl. Formats for sprintf: Field: %%; Meaning: A percent sign. Thanks for the help. Vic At 3:39 PM -0500 2/26/01, Vic Norton wrote: >$string = sprintf "%.2f\%", $x * 100; >... produces an >error message.