http://qs321.pair.com?node_id=1178285

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

Hi Monks,

I want to change the directory, but this change should be valid even after ending the script.

In the example given the script changes the directory to ".." and shows the content. But after ending the script I am back in the directory where I started the example and not in ".."

Is there a way that the script changes the directory not "locally" ?

many thanks

#!/usr/bin/perl system ("cd .."); system ("ls");