package Night;

sub new {
  my $i = bless { this => 'Night' }, shift;

  require Coffee;

  my $coffee = Coffee->pot( 'Espresso' );

  if ( $coffee->cup eq 'clean' ) {
    $i->rejoice && $i->thank( $coffee->god );
  } else {
    $i->clean( $coffee->cup );
  }


  while ( $i->code ) {

    $i->pour( $coffee => $coffee->cup );
    $i->drink( $coffee ) && $i->stay( 'awake' );

  }

  $i->sleep;
}

return 1; # tired programmer

--
Casey

Replies are listed 'Best First'.
RE: the night life
by redmist (Deacon) on Jun 28, 2000 at 16:51 UTC
    This is superb. It sounds like my life. Except for the fact that I have a bunch of trained monkeys around the house to chase away the Iceweasels and fetch me more coffee.

    redmist
      Likewise; except that instead of trained monkeys, I have Penguins...
           - Muse