![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: change directoryby Corion (Patriarch) |
on Dec 21, 2016 at 10:35 UTC ( #1178287=note: print w/replies, xml ) | Need Help?? |
That's not how the "current directory" works. The "current directory" is a property of the currently running process. If you want to change the current directory of the parent process, you need cooperation of the parent process. A common approach is to output shell commands from your script and have the shell run these commands:
In Section
Seekers of Perl Wisdom
|
|