diberri@ucla.edu (David J. Iberri) wrote: >How safe/unsafe is it to have a script running in an infinite loop in >the background? How significantly will it affect my performance if it's >only something like the following? > >while(1) { > ... # some absurd (but curiously magical) code > last if $finished; >} That's a perfectly valid idiom. It won't consume any more resources than it looks like it will. It's especially nonproblematic if it sleeps for a while in the loop, or waits for something else to finish, or whatever. ------------------- ------------------- Ken Williams Last Bastion of Euclidity ken@forum.swarthmore.edu The Math Forum # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org