[Gllug] Billennium! Party!(?)

Dean dean.wilson3 at virgin.net
Sat Sep 8 18:30:41 UTC 2001


On Sat, Sep 08, 2001 at 07:03:35PM +0100, Colin Coles <Colin Coles wrote:
>>perl -e 'print scalar localtime(1000000000)'

>date -d '1970-01-01 00:00:00 UTC +1000000000 seconds'

perl -e 'print $_=localtime(1 .0 x9)'

Hows that? How long till someone shows me up and shaves off another couple of 
characters?

That was fun, if you want to be really bad you can take away the space
between the print and the $_ (print$_) and it will still run fine and save
another character. And it runs under warnings :)
 
> plus at my reconing that's 3 less keystrokes in total :p
> Yes, I'm sad enough to count them.

I'm not ;)

	Dean (Waiting for boxes to reboot.)
-- 
Profanity is the one language all programmers understand
   --- Anon

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list