It was a dark and stormy night...

#!/usr/bin/perl #A tale of Two cities, by Charles Dickens #Adapted to Perl by Trag $Best_of_times=1; $Worst_of_times=1; print "Fatal logic error" if $Best_of_times==$Worst_of_times; die;


Hope it got a chuckle

###########################################
print "Just another iconoclastic Perl hacker";

Replies are listed 'Best First'.
Re: Perl does Dickens
by CloneArmyCommander (Friar) on Apr 12, 2004 at 15:38 UTC
    That's a problem that's been bugging me for quite a while. After a severe brain overload, trying to figure out how it could be both the best and worst of times, I just quit trying to anylize it :), it seemed slightly oxymoronic :). Maybe that "die" function is why I can never get past the first line of the book in order to finish it, or even get started :), hahahaha :). Anyway, excellent job, I'm thinking there should be a new node added to Perl Monks called something like "Perl Literature" and release Perl programmers on classic literature :).
      To be perfectly honest, I've never read the book, I just
      thought it was funny. I used my l33tsp34k program to
      convert a copy of the book from http://promo.net/pg/
      Project Gutenberg.
      As to your suggestion regarding classic literature, it
      sounds like it could work. Shakespeare could easily fit under
      obfu perl though <g>. Seriously though, maybe we're onto something.

      Vroom, if you're listening, we need a Perl Poetry subset for literature!

      print "Just another iconoclastic Perl hacker";
        Hahaha :). It is an excellent script :). I've never read the book either :), that first line always bugged me :).