[1901] in Moira

home help back first fref pref prev next nref lref last post

Re: mailhosts.gen

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Fri Nov 30 15:44:01 2001

Message-Id: <200111302043.PAA21566@riff-raff.mit.edu>
To: Mark Silis <mark@MIT.EDU>
cc: moiradev@MIT.EDU, postmaster@MIT.EDU
In-Reply-To: Your message of "Fri, 30 Nov 2001 14:13:53 EST."
             <20011130141353.A11549@I-fear-reorgs.MIT.EDU> 
Date: Fri, 30 Nov 2001 15:43:58 -0500
From: Garry Zacheiss <zacheiss@MIT.EDU>

>> +$tnow = ctime(time());

   Why are you using this?  "$tnow = localtime;" should be equivalent
and easier to read:

[zacheiss@riff-raff] ~$ perl -e 'use POSIX; $now = ctime(time()); print "$now"'
Fri Nov 30 15:43:06 2001
[zacheiss@riff-raff] ~$ perl -e '$now = localtime; print "$now\n"'
Fri Nov 30 15:43:13 2001

Garry

home help back first fref pref prev next nref lref last post