That's the whole point. You pass values into a sub, then use the return value(s). Global variables suck because you don't know who's going to modify them. The way that you are doing it, you don't have to worry about that. I *always* use strict, or perl -w, for all my perl scripts, and it's a...