in reply to why doesn't this infinite loop work?
Try this instead:
while (1) { print "do test\n"; sleep(10); } [download]
-sauoq "My two cents aren't worth a dime.";