Martin Leese wrote:

Hi,

A nice simple one for a Monday morning.  I wanted to make
sure I was using Mountain Time (my local time) and not GMT.
So, I executed "print scalar gmttime;" but perl does not
recognize gmttime.  Why not?  Perl does recognize localtime.

Here is a test script:

#! /usr/local/bin/perl
#
use strict;
use warnings;
use diagnostics;
#
print scalar localtime;
print scalar gmttime;
^ whoops s/b gmtime

HTH

-- mike higgins
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to