#!/usr/bin/perl # no_exit - by bren - 05/15/2003 # # A tribute to Sartre's work "No Exit". # # It does compile and run. If you are familiar with the work # in question, then you should run the program to see what # it does. # # Enjoy $trust = 0; my @sin = qw( existensial hell iterating transgressions cowardly people mourning is treachery other streams polluted dead to the world ); foreach (@sin){ if($trust++ % 2){ $nausea{$_} = $trust . $no . $more; } else{ @ego = split / */; $decay .= $ego[0].$ego[1]; } } $decay =~ y/c/;/; while(!$crying) { foreach (sort(keys(%nausea))){ print $sin[$nausea{$_} - 1]."\n"; if(!($nausea{$_} % 6)){ eval "$decay"; } } }

Replies are listed 'Best First'.
Re: No Exit
by jcpunk (Friar) on May 23, 2003 at 02:59 UTC
    Seriously, i dont remember the last time i laughed this hard at code..... when it wasn't mine of course....
    if it were up to me i would give you a prize....
Re: No Exit
by cbro (Pilgrim) on May 15, 2003 at 19:31 UTC
    Very perl-ish
    I don't speak French, but learned very early that, "l'enfer c'est les autres".
    ++ pseudorandomevil.
Re: No Exit
by webfiend (Vicar) on May 17, 2003 at 16:52 UTC

    Very impressive. It could almost count as poetic obfuscation, which I think is a fair description of a large quantity of philosophical work ;-)


    I just realized that I was using the same sig for nearly three years.

      It actually started out as an interview question that I was going to donate to a friend who was trying to hire a rather competant perl hacker. But then it took on a life of its own and we decided against using it. Ok, *he* decided against using it. I'd love to get something like this at a job interview!