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

Nice. I got 56:
sub f { #234567890#234567890#234567890#234567890#234567890#234567890 use Time::Local;(gmtime timegm 0,0,0,25,11,-1900+pop)[6] }

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Replies are listed 'Best First'.
Re: Re: Golfing the day of Christmas
by jmcnamara (Monsignor) on Dec 13, 2001 at 20:48 UTC

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

    --
    John.

      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.