Jan-Pieter Cornet wrote:
> On Tue, Sep 25, 2007 at 03:17:35PM -0700, Bill Landry wrote:
>>> Epoch time:
>>> perl -e 'print time() . "\n";'
> 
> Golfed:
> 
> perl -le print+time
> 
> You can even leave the -l switch if used in ``, because the trailing
> newline doesn't matter there.
> 

It wouldn't be Perl if there were only one way to do it ;)

dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to