Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: multiple infinitive loops

by TheEnigma (Pilgrim)
on Oct 06, 2004 at 15:28 UTC ( [id://397024]=note: print w/replies, xml ) Need Help??


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;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://397024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-03-29 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found