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


in reply to Re: Automating a shell session: cd does not work
in thread Automating a shell session: cd does not work

Yes, your example works for me too. I'll take a closer look at my code, there's probably a glaring mistake somewhere in my loop. I'll sleep over it and see if my brain can spot it better tomorrow :)

In any case this will probably end on Bitbucket soonish for the world to poke at it and point more bugs, so if I haven't found anything tomorrow I'll take you up on your offer and post the repo URL here.

Thanks for your time and hints so far.