I am running a perl script which calls a bash script which does various things. The problem is the bash script doesn't run properly when called with a perl script. It runs fine when I run it manually at the command prompt. Is there something i'm missing here?