Personally I have found that there is nothing that i can do in a shell in script that I cant do in a perl script, even if i have to resort to a system() call. If you are going to have to load perl into memory might as well do the whole thing that way. I also work in an envrioment where there are a couple of different shells in use and this way the scripts work the same for everyone. Just my 2 cents.