The code works, and it's clear that the $database used by the subsequent code indeed is connected to Source Safe, so it's not finding a stray global.
Is it possible that $database is a stray global that also happens to be connected to Source Safe?
P.S. This was post 500. I was going to save it for something somehow more profound but I didn't.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Something fishy about my scope
by sauoq
in thread Something fishy about my scope
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |