in reply to Re: multiple infinitive loops
in thread multiple infinitive loops

Actually, I'd make that
sub to_be {
  print "be ";
  goto &to_do;
}

sub to_do {
  print "do ";
  goto &to_be;
}

to_do();
or you'd run out of memory FAST.

Replies are listed 'Best First'.
Re^3: multiple infinitive loops
by SpanishInquisition (Pilgrim) on Oct 06, 2004 at 16:54 UTC
    while(1) { foo(); bar(); }

    Since we are doing no-threading, no-forking examples, this eats cheesy poofs and is still lame.