I was editing some perl code yesterday and the author had put the functions below the main code. I was aghast! How could someone do that?!? At least, the functions in question were factored out to make the code more readable. I asked the others in my group (who aren't software guys but they have written code) where they put their functions. They answered that they put their functions below their main code. Ick. That's just plain wrong. Are there any languages that require functions to appear in code after they are called? Comment? ''I usually do this in my GUI applications, because the "main code" is generally a few lines of boilerplate to initialize and enter the event loop. The important stuff is at the top. --ChrisMellon''