... it may also be that Apache is launching the Perl script with a working directory of /.
In reply to Re^3: system call to pdflatex by Corion in thread system call to pdflatex by kosta