in reply to trouble with system commands

To clarify what roboticus means by "the chdir function", run the command "perldoc -f chdir" and read its output. In your code, instead of doing:  $cd=`cd $directory`; you actually want to do this:
chdir $directory;

Replies are listed 'Best First'.
Re^2: trouble with system commands
by ikegami (Patriarch) on Nov 19, 2006 at 04:16 UTC