On Tue, Dec 28, 1999 at 03:02:11PM +0000, John Delacour wrote: } } 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? Your O'Reilly crib sheet is either wrong or (more likely), you're misreading it. Start up Shuck and look at the documentation for gmtime. } } #!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 } } } -- Paul Schinder schinder@pobox.com # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org