in reply to Finding relative path to called script
I guess there is a lot of way to do it but I have run into the same kind of problem. Since you know the path to the script you are calling, you call simply do a chdir to that path. chdir("../../somedire/anotherdir/script.pl");
This would change your current working directory but it is simple and it works.