in reply to Re: Golfing the day of Christmas
in thread Christmas Coding Blues


55 ;-)
sub f { use Time'Local;(gmtime timegm 0,0,0,25,11,-1900+pop)[6] }

--
John.

Replies are listed 'Best First'.
Re3: : Golfing the day of Christmas
by dragonchild (Archbishop) on Dec 13, 2001 at 21:05 UTC
    Except that you don't handle years before 1900. The problem-statement said that it handle to handle any year in the Common Era. :-)

    ------
    We are the carpenters and bricklayers of the Information Age.

    Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.