Michael C. Toren on 6 Mar 2007 08:37:32 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Daylight Savings Time


On Tue, Mar 06, 2007 at 01:49:02AM +0000, Stephen Gran wrote:
> Just to point out:
> $ perl -e 'my $time = localtime(time()); print "$time\n";'
> Mon Mar  5 20:44:03 2007
> 
> Is much less typing.

...so long as you brought it up :-)

    perl -le 'print scalar localtime' 

-mct (who hates using more punctuation than is necessary)
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug