JavaScript Placement

What is the general rule of thumb for placement of JavaScript if it is to run only on a single page. Do you add it in the page with <script> tags, or do you still bother to throw it in a global js file that is attached to all pages?

Doesn’t really matter. File is downloaded and cached once. I keep my common/un-moduled js all in a single script file and carry it around.