|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: How to change pathby meraxes (Friar) |
| on Oct 25, 2007 at 03:54 UTC ( #647068=note: print w/ replies, xml ) | Need Help?? |
|
system is executing the cd command in a forked process and returns to your Perl script. As it's happening in a different process, the working directory of your script doesn't change. Instead of the system call, use chdir:
update -- add links to docs
-- meraxes
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||