while(!$retired || !$millionaire) { typicalDay(); } sub typicalDay { open(WORK,"<TOO.MUCH"); while(<WORK>) { tr/$coworker_mistake/$correct_answer/; } return; sleep($till_morning); }

Replies are listed 'Best First'.
Re: Why I'm tired....
by gsiems (Deacon) on May 07, 2004 at 20:21 UTC
Re: Why I'm tired....
by muba (Priest) on May 13, 2004 at 19:24 UTC
    Huh?

    You have a sleep statement right after a return.
    That one is never going to be invoked.

    Strange code :)

      exactly my point...no rest for the wicked, or the chronically correct.

Re: Why I'm tired....
by karisma (Scribe) on May 26, 2004 at 12:46 UTC
    This one is rather depressing...
Re: Why I'm tired....
by Anonymous Monk on Jun 26, 2004 at 23:14 UTC
    Would it be more logical if the first line were "while(!$retired && !$millionaire)"?