and I didn't explain myself corrently. When I said it would only affect "perl and it's children", I was refering to any given perl process. In your terminology, it will only affect your script if you only put it in your script. And if you use local, it will only affect a small region of the script, as demonstrated by the example I posted. Enjoy!