At 11:50 pm -0400 27/12/99, Arved Sandstrom wrote: >On Mon, 27 Dec 1999, John Delacour wrote: > >> Alpha seems a very nice editor for working with Perl, but I seem to be >> having a problem with carriage returns (reported as such but with code > > /012) and the Apple Events Alpha is using. Taking the text from a > >Alpha reports the line-ending type in the lower-right of the bottom status >bar. To convert, use Save As, and select from Mac, Unix, or IBM. This >means you'll answer Yes to Replace File? Terrific. Thanks. I'm sure Alpha is going to be my editor of choice for Perl but I'm hoping to change a few things to make it more pleasant to the eyes. I'd like to find a way to get "* Perl Output *" windows open at a fixed size and not have to watch a full-size window flash up and resize itself. Actually !'ve just discovered a simpler way to get over the problem I was having and that is to type shift-[F9] and select "Perl". Now I'm a little confused with time. In MacPerl this does not seem to return an associative array as I understand from my little O'Reilly crib it ought to , so that I can't get $time[$year] but have to get $time[5] as in the script below -- or am I reading too much into the crib? #!perl @time = gmtime 3029529600; print 1900 + $time[5]; print "/"; print 1 + $time[4]; print "/"; print 1 + $time[3]; print "\n"; Thanks for your help. JD # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org