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;
[download]
Comment on
Re: trouble with system commands
Select
or
Download
Code
Replies are listed 'Best First'.
Re^2: trouble with system commands
by
ikegami
(Patriarch)
on Nov 19, 2006 at 04:16 UTC
And here's a link to relenvant
Perl documentation
in HTML format:
chdir
[reply]
[d/l]
In Section
Seekers of Perl Wisdom