in reply to automating linux commands in perl

First I would suggest that instead of using the system call that you use File::Copy instead to copy the files.

Secondly as pointed out elsewhere in the thread check the return code generated by system where you are executing /usr/local/modeller6v2/bin/mod6v2 for errors.


Peter L. Berghold -- Unix Professional
Peter at Berghold dot Net
   Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.