http://www.perlmonks.org?node_id=111415

Corrupt_SYN has asked for the wisdom of the Perl Monks concerning the following question:

I tried the obvious
system "cd $dir";
But this seems to have no effect.
How do I change directory within a perl program?

Originally posted as a Categorized Question.