doFILE; executes the Perl script as though it were actually a part of your currently running script. You might be looking to execute it using system() or the backticks instead. Or even open a pipe to it. See system, perlop (the section about the backtick operators), open for more details.
Dave
Comment on Re: calling a perl script from within another perl script
I had tried using backticks before and couldn't get that working for some reason. I just tried using the system() call and that worked just fine. Thanks for your help.
Matt