in reply to trouble with system commands

tricolaire:

Using the backticks creates a new process to run the command in. So you're starting a new process, it changes the directory *in that process*, and then the command exits and the process terminates.

It doesn't change the directory in the process your Perl program is running in. For that use the chdir function.

--roboticus