in reply to multiple infinitive loops

infinitive loop???

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

Sorry, I couldn't resist!

"To be is to do"--Socrates.
"To do is to be"--Jean-Paul Sartre.
"Do be do be do"--Frank Sinatra.

TheEnigma

Replies are listed 'Best First'.
Re^2: multiple infinitive loops
by Joost (Canon) on Oct 06, 2004 at 15:45 UTC
      while(1) { foo(); bar(); }

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

Re^2: multiple infinitive loops
by cog (Parson) on Oct 06, 2004 at 15:49 UTC
    The idea is awesome :-)

    However, when one of them receives its event and acts... the other will be prevented from acting for a while... :-) But the idea is wonderful :-)

Re^2: multiple infinitive loops
by periapt (Hermit) on Oct 08, 2004 at 12:22 UTC
    Nice tag line :o)

    PJ
    use strict; use warnings; use diagnostics;